## Process this file with automake to produce Makefile.in # Copyright (C) 2002, 2003, 2004 Simon Josefsson. # # This file is part of GNU Libidn. # # GNU Libidn is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as # published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU Libidn 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 Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU Libidn; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA SUBDIRS = lib po src doc tests examples java ACLOCAL_AMFLAGS = -I m4 EXTRA_DIST = FAQ libidn.pc.in \ libc/README libc/getaddrinfo-idn.txt libc/example.c \ contrib/README contrib/idn-python/README contrib/idn-python/Makefile \ contrib/idn-python/idn.c contrib/idn-python/test.py \ contrib/web/idn.php \ contrib/java/README contrib/java/autogen.sh \ contrib/java/configure.ac contrib/java/Makefile.am \ contrib/java/ExampleIDNA.java contrib/java/IDNA.java \ contrib/java/IDNA.c \ contrib/doxygen/Doxyfile.in contrib/doxygen/Doxyfile.orig \ contrib/doxygen/gdoc2doxygen pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libidn.pc # Maintainer targets ChangeLog: cvs2cl --FSF --fsf --usermap .cvsusers -I ChangeLog -I .cvs \ -I autogen.sh -I contrib -I doc/specifications/ -I draft- && \ cat .cvscopying >> ChangeLog indent: (cd lib && make indent) (cd src && make indent) (cd tests && make indent) tag = $(PACKAGE)-`echo $(VERSION) | sed 's/\./-/g'` htmldir = ../www-$(PACKAGE) release: cvs upd -p -r HEAD NEWS > /dev/null if cvs upd -p -r $(tag) NEWS > /dev/null; then false else true; fi rm -f ChangeLog && cvs upd ChangeLog cvs commit rm -f ChangeLog $(MAKE) ChangeLog distcheck cvs commit -m "" ChangeLog cvs rtag $(tag) $(PACKAGE) gpg -b $(distdir).tar.gz gpg --verify $(distdir).tar.gz.sig echo "directory: $(PACKAGE)" > $(distdir).tar.gz.directive gpg --clearsign $(distdir).tar.gz.directive ncftpput ftp-upload.gnu.org /incoming/alpha \ $(distdir).tar.gz{,.sig,.directive.asc} cd doc && ./gendocs.sh --html "--css-include=texinfo.css" \ -o ../$(htmldir)/manual/ $(PACKAGE) "GNU Libidn" cp -v $(distdir).tar.gz{,.sig} $(htmldir)/releases/ cp -v doc/reference/*.{html,png} $(htmldir)/reference/ cd contrib/doxygen && doxygen && cd ../.. && cp -v contrib/doxygen/html/* $(htmldir)/doxygen/ && cd contrib/doxygen/latex && make refman.pdf && cd ../../../ && cp contrib/doxygen/latex/refman.pdf $(htmldir)/doxygen/$(PACKAGE).pdf cp -v doc/java/*.html $(htmldir)/javadoc/ cd $(htmldir) && cvs add -kb releases/$(distdir).tar.gz{,.sig} && \ cvs commit -m "Update." manual/ javadoc/ reference/ \ doxygen/ releases/