X-Git-Url: https://pd.if.org/git/?p=zpackage;a=blobdiff_plain;f=Makefile;h=4ad7edbce9d1bdea1119d733361c4909bdc6dc56;hp=6c6414b6552e289b11ec6ff7c6c50ff81cfecfe2;hb=de3ce49c093f0c274d2921fa90ad829e1fc4a5f9;hpb=a97e143d89bf67884ab2b35e77a3077cf5816af8 diff --git a/Makefile b/Makefile index 6c6414b..4ad7edb 100644 --- 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-pkg zpm-add zpm-pkgfile zpm-gc zpm-repo COMPILED=$(ZPKGBIN) PROGRAMS=$(SCRIPTS) $(COMPILED) @@ -187,9 +187,11 @@ zpm-shell: sqlite/sqlite3.o sqlite/shell.o sqlite/extensions.o lib/vercmp.o libelf.a: elf/libelf.o ar rcuv $@ $? -install: $(COMPILED) +install: $(COMPILED) doc/zpm.8 test -d $(DESTDIR)/sbin || install -d $(DESTDIR)/sbin install $(PROGRAMS) $(DESTDIR)/sbin + mkdir $(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 @echo scan-build -v -o report make -j10