]> pd.if.org Git - zpackage/blobdiff - Makefile
add script to commit configfiles to git
[zpackage] / Makefile
index 4ad7edbce9d1bdea1119d733361c4909bdc6dc56..ebe88bb3f2eac7c7d8a4ac128ccbd931fd50358d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ ZPKGBIN=zpm-addfile zpm-extract zpm-init zpm-vercmp zpm-stat zpm-hash \
 
 SCRIPTS=zpm zpm-install zpm-merge zpm-list zpm-preserve zpm-test zpm-log \
        zpm-contents zpm-uninstall zpm-pathmod zpm-rmpackage zpm-newpackage \
-       zpm-pkg zpm-add zpm-pkgfile zpm-gc zpm-repo
+       zpm-pkg zpm-add zpm-pkgfile zpm-gc zpm-repo zpm-update
 COMPILED=$(ZPKGBIN)
 PROGRAMS=$(SCRIPTS) $(COMPILED)
 
@@ -190,7 +190,7 @@ libelf.a: elf/libelf.o
 install: $(COMPILED) doc/zpm.8
        test -d $(DESTDIR)/sbin || install -d $(DESTDIR)/sbin
        install $(PROGRAMS) $(DESTDIR)/sbin
-       mkdir $(DESTDIR)/usr/share/man/man8
+       mkdir -p $(DESTDIR)/usr/share/man/man8
        install -m644 doc/zpm.8 $(DESTDIR)/usr/share/man/man8
 
 scan-prep: clean sqlite/sqlite3.o sqlite/shell.o lib/liblzma.a