]> granicus.if.org Git - postgresql/commitdiff
Make install and clean targets behave more normally.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Nov 2002 00:22:39 +0000 (00:22 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Nov 2002 00:22:39 +0000 (00:22 +0000)
doc/src/Makefile

index 66884f7371187b2a17fa90d400413422c9351957..a6729e31387583e05781a4f2c51a12fda9109474 100644 (file)
@@ -1,5 +1,5 @@
 # Postgres documentation makefile
-# $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.29 2002/07/28 15:19:59 petere Exp $
+# $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.30 2002/11/30 00:22:39 tgl Exp $
 
 subdir = doc/src
 top_builddir = ../..
@@ -12,13 +12,13 @@ BOOKS = admin developer reference programmer tutorial user  postgres
 TARGETS= $(BOOKS:%=%.tar.$(ZIPSUFFIX))
 
 .PRECIOUS:
-.PHONY: install all sources clean distclean
+.PHONY: install all sources clean distclean maintainer-clean
 
-install:
-       $(MAKE) all
-       (mv -f *.$(ZIPSUFFIX) ..)
+install: all
+       cp -f *.$(ZIPSUFFIX) ..
 
 clean distclean maintainer-clean:
+       rm -f *.tar *.$(ZIPSUFFIX)
        $(MAKE) -C sgml $@
 
 all: $(TARGETS)