Add non-build files to VS projects.
[shibboleth/cpp-opensaml.git] / Makefile.am
index 6b98367..a0ff2d6 100644 (file)
@@ -13,19 +13,16 @@ dist-hook:
 
 SUBDIRS = doc schemas saml samltest samlsign
 
-GENFILES = opensaml.spec pkginfo Portfile
-
 if DX_COND_doc
-all-local: doxygen-doc $(GENFILES)
+all-local: doxygen-doc
 else
-all-local: $(GENFILES)
+all-local:
 endif
 
-$(GENFILES): %: %.in Makefile
-       rm -f $@.tmp
-       sed < $@.in > $@.tmp \
-           -e 's:@-VERSION-@:${VERSION}:'
-       mv $@.tmp $@
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = @PACKAGE_NAME@.pc
+
+GENFILES = @PACKAGE_NAME@.spec pkginfo Portfile
 
 EXTRA_DIST = $(DX_CONFIG) \
        cpp-opensaml2.sln \
@@ -38,5 +35,3 @@ EXTRA_DIST = $(DX_CONFIG) \
        $(GENFILES:%=%.in) \
        depend \
        postinstall
-
-DISTCLEANFILES = $(GENFILES)