]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
avoid using install -D
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 22 Nov 2010 12:38:10 +0000 (13:38 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 22 Nov 2010 12:38:10 +0000 (13:38 +0100)
Makefile.in

index fb137493e9765e50e9ad7ddc8720981505cca6b0..1c82be8f057b79e354791aa66c9e6f41d63699d1 100644 (file)
@@ -115,12 +115,13 @@ install: $(LIBNEWT) install-sh whiptail
        [ -d $(instroot)/$(libdir) ] || install -m 755 -d $(instroot)/$(libdir)
        [ -d $(instroot)/$(includedir) ] || install -m 755 -d $(instroot)/$(includedir)
        [ -d $(instroot)/$(man1dir) ] || install -m 755 -d $(instroot)/$(man1dir)
+       [ -d $(instroot)/$(pkgconfigdir) ] || install -m 755 -d $(instroot)/$(pkgconfigdir)
        install -m 644 newt.h $(instroot)/$(includedir)
        install -m 644 $(LIBNEWT) $(instroot)/$(libdir)
        install -m 755 whiptail $(instroot)/$(bindir)
        install -m 644 whiptail.1 $(instroot)/$(man1dir)
        make -C po datadir=$(instroot)/$(datadir) install
-       install -m 644 -D libnewt.pc $(instroot)/$(pkgconfigdir)/libnewt.pc
+       install -m 644 libnewt.pc $(instroot)/$(pkgconfigdir)
 
 install-sh: sharedlib $(WHIPTCLSO) _snackmodule.so
        [ -d $(instroot)/$(libdir) ] || install -m 755 -d $(instroot)/$(libdir)