summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-15 14:23:28 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-15 14:23:28 (EDT)
commit8c2c2a8d5d89edd2c49da8c7c845cdc74fb47ec0 (patch)
tree030fcf13ebfc7aa4e629a534be0e1a5d2e6f01b7
parent19f1e2a143041aa504f6b97363d5cda8997fed78 (diff)
build: Automatically install all versions of tools
-rwxr-xr-xbuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/build b/build
index 3bcbf7f..5531737 100755
--- a/build
+++ b/build
@@ -14,9 +14,9 @@ install: build
install -D -m 0644 src/build.mk $(pkgdatadir)/build.mk
install -D -m 0755 src/ppt-mkpkgs $(bindir)/ppt-mkpkgs
install -D -m 0755 src/ppt-rmpkgs $(bindir)/ppt-rmpkgs
- install -D -m 0644 src/2/build.mk $(pkgdatadir)/2/build.mk
- install -D -m 0644 src/2/ppt-mkpkgs $(pkgdatadir)/2/ppt-mkpkgs
- install -D -m 0644 src/2/ppt-rmpkgs $(pkgdatadir)/2/ppt-rmpkgs
+ (set -e; cd src/; for f in */*; do \
+ install -D -m 0644 $${f} ../$(pkgdatadir)/$${f}; \
+ done)
sed 's/@PPT_VERSION@/$(OPK_SOURCE_VERSION)/' src/ppt-make \
>$(bindir)/ppt-make
chmod 0755 $(bindir)/ppt-make