diff options
-rw-r--r-- | symlinks/Makefile | 7 | ||||
-rw-r--r-- | symlinks/symlinks.p5m | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/symlinks/Makefile b/symlinks/Makefile index 94a83b2..c6260de 100644 --- a/symlinks/Makefile +++ b/symlinks/Makefile @@ -1,4 +1,5 @@ -include /usr/share/cibs/rules/ips.mk +package ?= ips +include /usr/share/cibs/rules/$(package).mk include /usr/share/cibs/rules/git.mk include /usr/share/cibs/rules/patch.mk include /usr/share/cibs/rules/64.mk @@ -26,6 +27,6 @@ build-%-stamp: download-stamp patch-stamp touch $@ install-%-stamp: build-%-stamp - mkdir -p $(destdir)/$(bindir) - cp $(builddir)/symlinks $(destdir)/$(bindir) + mkdir -p $(protodir)/usr/bin + cp $(builddir)/symlinks $(protodir)/usr/bin touch $@ diff --git a/symlinks/symlinks.p5m b/symlinks/symlinks.p5m index 762f42a..2f07317 100644 --- a/symlinks/symlinks.p5m +++ b/symlinks/symlinks.p5m @@ -6,5 +6,5 @@ set name=info.source-url value="$(git-url)" license $(license-file) license=$(license) file path=usr/bin/symlinks -file symlinks.8 path=usr/share/man/man1/symlinks.1 +file $(sourcedir)/symlinks.8 path=usr/share/man/man1/symlinks.1 |