summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3e8359b..640e24f 100644
--- a/Makefile
+++ b/Makefile
@@ -54,9 +54,12 @@ check:
install:
install -D $(scripts) --target-directory $(bindir)
- mkdir -p $(scmdir) $(godir)
- cp --parents -vr $(sources) $(scmdir)
- cp --parents -vr $(objects) $(godir)
+ for source in $(sources); do \
+ install -D $$source $(scmdir)/$$source; \
+ done
+ for object in $(objects); do \
+ install -D $$object $(godir)/$$object; \
+ done
clean:
rm -f $(objects)