index 3c8dc446d9a07a2229a0b9f6f616522644bd7b1a..37984f0aa525c51440ca6ab91053475997dfb8d6 100644 (file)
#
# Copyright (c) 1994, Regents of the University of California
#
-# $PostgreSQL: pgsql/doc/Makefile,v 1.32 2008年11月14日 10:22:45 petere Exp $
+# $PostgreSQL: pgsql/doc/Makefile,v 1.33 2009年06月18日 15:10:35 petere Exp $
#
#----------------------------------------------------------------------------
rm -f $(addprefix $(DESTDIR)$(htmldir)/html/, $(shell gunzip -c $(srcdir)/postgres.tar.gz | tar tf -))
endif
ifdef found_man
- rm -f $(addprefix $(DESTDIR)$(mandir)/, $(shell gunzip -c $(srcdir)/man.tar.gz | tar tf - | sed -e 's,man7/,man$(sqlmansectnum)/,' -e 's/.7$$/.$(sqlmansect)/'))
+ rm -f $(filter-out %/, $(addprefix $(DESTDIR)$(mandir)/, $(shell gunzip -c $(srcdir)/man.tar.gz | tar tf - | sed -e 's,man7/,man$(sqlmansectnum)/,' -e 's/.7$$/.$(sqlmansect)/')))
endif