X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=blobdiff_plain;f=Makefile.am;h=01dbcc1871dda51bbd0790ed1a1ae822731c5863;hp=7f4b6937fd3004029f90163cb7ba80b09b773345;hb=HEAD;hpb=2623f4fb43f1077171ba62eb4f06c6b963a002e3 diff --git a/Makefile.am b/Makefile.am index 7f4b693..01dbcc1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,53 +1,31 @@ -AUTOMAKE_OPTIONS = foreign - -ACLOCAL_AMFLAGS = -I . +AUTOMAKE_OPTIONS = foreign dist-zip dist-bzip2 +ACLOCAL_AMFLAGS = -I m4 include doxygen.am MOSTLYCLEANFILES = $(DX_CLEANFILES) -dist-hook: - rm -rf `find $(distdir)/xmltoolingtest/data -name .svn` - +DISTCLEANFILES = \ + @PACKAGE_NAME@.pc \ + @PACKAGE_NAME@.pc.in \ + @PACKAGE_NAME@-uninstalled.pc \ + @PACKAGE_NAME@-uninstalled.sh -SUBDIRS = doc schemas xmltooling xmltoolingtest +SUBDIRS = doc schemas @PACKAGE_NAME@ xmltoolingtest if DX_COND_doc -all-local: doxygen-doc xmltooling.spec pkginfo -APIDOCS = doc/api +all-local: doxygen-doc else -all-local: xmltooling.spec pkginfo +all-local: endif -install-data-hook: - rm -rf $(DESTDIR)/$(prefix)/doc/@PACKAGE@/api - cp -r doc/api $(DESTDIR)/$(prefix)/doc/@PACKAGE@ - -xmltooling.spec: xmltooling.spec.in Makefile - rm -f $@.tmp - sed < $< > $@.tmp \ - -e 's:@-VERSION-@:${VERSION}:' - mv $@.tmp $@ +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = @PACKAGE_NAME@.pc -pkginfo: pkginfo.in Makefile - rm -f $@.tmp - sed < $< > $@.tmp \ - -e 's:@-VERSION-@:${VERSION}:' - mv $@.tmp $@ +GENFILES = @PACKAGE_NAME@.spec EXTRA_DIST = $(DX_CONFIG) \ - $(APIDOCS) \ - cpp-xmltooling.sln \ - acx_pthread.m4 \ - acinclude.m4 \ - libtool.m4 \ - doxygen.m4 \ - depcomp \ - config_win32.h \ - xmltooling.spec.in \ - xmltooling.spec \ - pkginfo.in \ - pkginfo \ - checkinstall - -DISTCLEANFILES = xmltooling.spec pkginfo + cpp-@PACKAGE_NAME@.sln \ + config_win32.h \ + $(GENFILES) \ + $(GENFILES:%=%.in)