Remove unnecessary files from distribution
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 11 Aug 2009 22:21:51 +0000 (22:21 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 11 Aug 2009 22:21:51 +0000 (22:21 +0000)
doc/src/sgml/Makefile

index ecb9e8dee0c8be8978b00f68acc84faa3b31798e..3fd2768e0d6a4c29a20e09ec9522f08a5d8e5f5e 100644 (file)
@@ -222,10 +222,6 @@ regress_README.html: regress.sgml
 ## XSLT processing
 ##
 
-# This allows removing postgres.xml in the distribution tarballs while
-# keeping the dependencies satisfied.
-.SECONDARY: postgres.xml
-
 postgres.xml: postgres.sgml $(ALMOSTALLSGML)
        $(OSX) -D. -x lower $< | \
          $(PERL) -p -e 's/\[(amp|copy|egrave|gt|lt|mdash|nbsp|ouml|pi|quot|uuml) *\]/\&\1;/g;' \
@@ -358,8 +354,12 @@ endif # sqlmansectnum != 7
 ## Clean
 ##
 
+# This allows removing some files from the distribution tarballs while
+# keeping the dependencies satisfied.
+.SECONDARY: postgres.xml $(GENERATED_SGML) HTML.index
+
 distclean:
-       rm -f postgres.xml
+       rm -f postgres.xml $(GENERATED_SGML) HTML.index
 
 maintainer-clean: distclean
 # HTML