1*600f14f4SXin Li# flac - Command-line FLAC encoder/decoder 2*600f14f4SXin Li# Copyright (C) 2002-2009 Josh Coalson 3*600f14f4SXin Li# Copyright (C) 2011-2023 Xiph.Org Foundation 4*600f14f4SXin Li# 5*600f14f4SXin Li# This program is free software; you can redistribute it and/or 6*600f14f4SXin Li# modify it under the terms of the GNU General Public License 7*600f14f4SXin Li# as published by the Free Software Foundation; either version 2 8*600f14f4SXin Li# of the License, or (at your option) any later version. 9*600f14f4SXin Li# 10*600f14f4SXin Li# This program is distributed in the hope that it will be useful, 11*600f14f4SXin Li# but WITHOUT ANY WARRANTY; without even the implied warranty of 12*600f14f4SXin Li# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13*600f14f4SXin Li# GNU General Public License for more details. 14*600f14f4SXin Li# 15*600f14f4SXin Li# You should have received a copy of the GNU General Public License along 16*600f14f4SXin Li# with this program; if not, write to the Free Software Foundation, Inc., 17*600f14f4SXin Li# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 18*600f14f4SXin Li 19*600f14f4SXin LiSUBDIRS = . images 20*600f14f4SXin Li 21*600f14f4SXin Liif FLaC__HAS_DOXYGEN 22*600f14f4SXin Liall-local: Doxyfile 23*600f14f4SXin LiFLAC.tag: Doxyfile 24*600f14f4SXin Li doxygen Doxyfile 25*600f14f4SXin Li rm -rf api 26*600f14f4SXin Li mv doxytmp/html api 27*600f14f4SXin Li rm -rf doxytmp 28*600f14f4SXin Li 29*600f14f4SXin Lidoc_DATA = \ 30*600f14f4SXin Li FLAC.tag 31*600f14f4SXin Lielse 32*600f14f4SXin Liif FLaC__HAS_PREBUILT_DOXYGEN 33*600f14f4SXin Lidoc_DATA = \ 34*600f14f4SXin Li FLAC.tag 35*600f14f4SXin Liendif 36*600f14f4SXin Liendif 37*600f14f4SXin Li 38*600f14f4SXin LiEXTRA_DIST = Doxyfile.in doxygen.footer.html \ 39*600f14f4SXin Li isoflac.txt $(doc_DATA) CMakeLists.txt \ 40*600f14f4SXin Li api 41*600f14f4SXin Li 42*600f14f4SXin Liif FLaC__HAS_DOXYGEN 43*600f14f4SXin Li# The install targets don't copy whole directories so we have to 44*600f14f4SXin Li# handle 'api/' specially: 45*600f14f4SXin Liinstall-data-local: 46*600f14f4SXin Li $(mkinstalldirs) $(DESTDIR)$(docdir)/api 47*600f14f4SXin Li (cd $(builddir)/api && $(INSTALL_DATA) * $(DESTDIR)$(docdir)/api) 48*600f14f4SXin Liuninstall-local: 49*600f14f4SXin Li rm -rf $(DESTDIR)$(docdir)/api 50*600f14f4SXin Lidistclean-local: 51*600f14f4SXin Li rm -rf FLAC.tag api doxytmp 52*600f14f4SXin Liendif 53*600f14f4SXin Li 54*600f14f4SXin Liif FLaC__HAS_PREBUILT_DOXYGEN 55*600f14f4SXin Li# The install targets don't copy whole directories so we have to 56*600f14f4SXin Li# handle 'api/' specially: 57*600f14f4SXin Liinstall-data-local: 58*600f14f4SXin Li $(mkinstalldirs) $(DESTDIR)$(docdir)/api 59*600f14f4SXin Li (cd $(srcdir)/api && $(INSTALL_DATA) * $(DESTDIR)$(docdir)/api) 60*600f14f4SXin Liuninstall-local: 61*600f14f4SXin Li rm -rf $(DESTDIR)$(docdir)/api 62*600f14f4SXin Liendif 63