Relax restriction on HTTP method.
[shibboleth/cpp-opensaml.git] / Makefile.am
index 94f7c83..b432a54 100644 (file)
@@ -8,30 +8,31 @@ MOSTLYCLEANFILES = $(DX_CLEANFILES)
 
 dist-hook:
        rm -rf `find $(distdir)/samltest/data -name .svn`
+       rm -rf `find $(distdir)/doc/api -name .svn`
 
 
-SUBDIRS = doc schemas saml samltest
-
-all-local: opensaml.spec pkginfo
+SUBDIRS = doc schemas saml samltest samlsign
 
 if DX_COND_doc
-all-local: doxygen-doc
+all-local: opensaml.spec pkginfo doxygen-doc
 APIDOCS = doc/api
+else
+all-local: opensaml.spec pkginfo
 endif
 
 install-data-hook:
-       rm -rf $(prefix)/doc/@PACKAGE@/api
-       cp -r doc/api $(prefix)/doc/@PACKAGE@
+       rm -rf $(DESTDIR)$(datadir)/doc/@PACKAGE@/api
+       cp -r doc/api $(DESTDIR)$(datadir)/doc/@PACKAGE@
 
 opensaml.spec: opensaml.spec.in Makefile
        rm -f $@.tmp
-       sed < $< > $@.tmp \
+       sed < $@.in > $@.tmp \
            -e 's:@-VERSION-@:${VERSION}:'
        mv $@.tmp $@
 
 pkginfo: pkginfo.in Makefile
        rm -f $@.tmp
-       sed < $< > $@.tmp \
+       sed < $@.in > $@.tmp \
            -e 's:@-VERSION-@:${VERSION}:'
        mv $@.tmp $@
 
@@ -47,6 +48,7 @@ EXTRA_DIST = $(DX_CONFIG) \
        opensaml.spec \
        pkginfo.in \
        pkginfo \
-       checkinstall
+       depend \
+       postinstall
 
 DISTCLEANFILES = opensaml.spec pkginfo