2002-07-16 20:09:53 +04:00
|
|
|
# flac - Command-line FLAC encoder/decoder
|
2013-05-25 11:11:19 +04:00
|
|
|
# Copyright (C) 2002-2009 Josh Coalson
|
2024-07-11 16:35:32 +03:00
|
|
|
# Copyright (C) 2011-2024 Xiph.Org Foundation
|
2002-07-16 20:09:53 +04:00
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
2012-12-04 20:36:05 +04:00
|
|
|
# You should have received a copy of the GNU General Public License along
|
|
|
|
# with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2002-07-16 20:09:53 +04:00
|
|
|
|
2022-09-05 20:11:31 +03:00
|
|
|
SUBDIRS = . images
|
2002-07-16 20:09:53 +04:00
|
|
|
|
2003-01-10 07:38:44 +03:00
|
|
|
if FLaC__HAS_DOXYGEN
|
2012-12-28 22:58:46 +04:00
|
|
|
all-local: Doxyfile
|
2002-07-16 20:09:53 +04:00
|
|
|
FLAC.tag: Doxyfile
|
|
|
|
doxygen Doxyfile
|
2022-09-05 20:11:31 +03:00
|
|
|
rm -rf api
|
|
|
|
mv doxytmp/html api
|
2002-07-16 20:09:53 +04:00
|
|
|
rm -rf doxytmp
|
|
|
|
|
2002-08-23 10:45:23 +04:00
|
|
|
doc_DATA = \
|
2002-07-16 20:09:53 +04:00
|
|
|
FLAC.tag
|
2022-09-18 21:09:48 +03:00
|
|
|
else
|
|
|
|
if FLaC__HAS_PREBUILT_DOXYGEN
|
|
|
|
doc_DATA = \
|
|
|
|
FLAC.tag
|
|
|
|
endif
|
|
|
|
endif
|
2002-07-16 20:09:53 +04:00
|
|
|
|
2022-09-05 20:11:31 +03:00
|
|
|
EXTRA_DIST = Doxyfile.in doxygen.footer.html \
|
2022-09-18 21:09:48 +03:00
|
|
|
isoflac.txt $(doc_DATA) CMakeLists.txt \
|
|
|
|
api
|
2002-09-24 10:41:29 +04:00
|
|
|
|
2022-09-18 21:09:48 +03:00
|
|
|
if FLaC__HAS_DOXYGEN
|
|
|
|
# The install targets don't copy whole directories so we have to
|
|
|
|
# handle 'api/' specially:
|
|
|
|
install-data-local:
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(docdir)/api
|
|
|
|
(cd $(builddir)/api && $(INSTALL_DATA) * $(DESTDIR)$(docdir)/api)
|
|
|
|
uninstall-local:
|
|
|
|
rm -rf $(DESTDIR)$(docdir)/api
|
2013-01-19 02:04:27 +04:00
|
|
|
distclean-local:
|
2022-09-05 20:11:31 +03:00
|
|
|
rm -rf FLAC.tag api doxytmp
|
2022-09-18 21:09:48 +03:00
|
|
|
endif
|
|
|
|
|
|
|
|
if FLaC__HAS_PREBUILT_DOXYGEN
|
|
|
|
# The install targets don't copy whole directories so we have to
|
|
|
|
# handle 'api/' specially:
|
|
|
|
install-data-local:
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(docdir)/api
|
2022-09-26 12:03:14 +03:00
|
|
|
(cd $(srcdir)/api && $(INSTALL_DATA) * $(DESTDIR)$(docdir)/api)
|
2022-09-18 21:09:48 +03:00
|
|
|
uninstall-local:
|
|
|
|
rm -rf $(DESTDIR)$(docdir)/api
|
|
|
|
endif
|