OSDN Git Service

Seems we forgot the installdirs target in this makefile.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 May 2004 03:53:33 +0000 (03:53 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 May 2004 03:53:33 +0000 (03:53 +0000)
src/timezone/Makefile

index eec508f..9af3aaa 100644 (file)
@@ -4,7 +4,7 @@
 #    Makefile for the timezone library
 
 # IDENTIFICATION
-#    $PostgreSQL: pgsql/src/timezone/Makefile,v 1.11 2004/05/22 21:02:32 tgl Exp $
+#    $PostgreSQL: pgsql/src/timezone/Makefile,v 1.12 2004/05/28 03:53:33 tgl Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -34,5 +34,8 @@ zic: $(ZICOBJS)
 install: all installdirs
        ./zic -d $(DESTDIR)$(datadir)/timezone $(TZDATAFILES)
 
+installdirs:
+       $(mkinstalldirs) $(DESTDIR)$(datadir)
+
 clean distclean maintainer-clean:
        rm -f SUBSYS.o zic $(OBJS) $(ZICOBJS)