Relax restriction on HTTP method.
[shibboleth/cpp-opensaml.git] / Makefile.am
index 3dbc715..b432a54 100644 (file)
@@ -8,6 +8,7 @@ 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 samlsign
@@ -20,18 +21,18 @@ all-local: opensaml.spec pkginfo
 endif
 
 install-data-hook:
-       rm -rf $(DESTDIR)$(prefix)/doc/@PACKAGE@/api
-       cp -r doc/api $(DESTDIR)$(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