X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=Makefile.am;h=2a2d0141e846ed2c9c1b43e3610a4b32d54ca9f2;hp=d9748f504fb9d5a79b63b9bdfbb4aa3fd3d7f75e;hb=87caecf37aca451b5b5e658416d6ddd19e62ae2b;hpb=7d71ec6c3f5f3b2cf800147d7a9317214a9c63bd diff --git a/Makefile.am b/Makefile.am index d9748f5..2a2d014 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,57 +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) -EXTRA_DIST = $(DX_CONFIG) \ - doc \ - schemas \ - cpp-opensaml2.sln \ - libtool.m4 \ - doxygen.m4 \ - acx_pthread.m4 \ - depcomp \ - config_win32.h \ - opensaml.spec.in \ - opensaml.spec \ - pkginfo.in \ - pkginfo \ - checkinstall - - -dist-hook: - rm -rf `find $(distdir)/samltest/data -name .svn` - rm -rf `find $(distdir)/schemas -name .svn` - rm -rf `find $(distdir)/schemas -name Makefile` - rm -rf `find $(distdir)/doc -name .svn` - rm -rf `find $(distdir)/doc -name Makefile` +DISTCLEANFILES = \ + @PACKAGE_NAME@.pc \ + @PACKAGE_NAME@.pc.in \ + @PACKAGE_NAME@-uninstalled.pc \ + @PACKAGE_NAME@-uninstalled.sh - -SUBDIRS = schemas saml samltest - -all-local: opensaml.spec pkginfo +SUBDIRS = doc schemas saml samltest samlsign if DX_COND_doc all-local: doxygen-doc - -install-data-hook: - rm -rf $(prefix)/doc/@PACKAGE@/api - cp -r doc/api $(prefix)/doc/@PACKAGE@ +else +all-local: endif -opensaml.spec: opensaml.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 -DISTCLEANFILES = opensaml.spec pkginfo +EXTRA_DIST = $(DX_CONFIG) \ + cpp-opensaml2.sln \ + config_win32.h \ + $(GENFILES) \ + $(GENFILES:%=%.in)