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 cc69eed..b7ed63e 100644
--- a/Makefile
+++ b/Makefile
@@ -90,9 +90,12 @@ $(dist_archive): .git/refs/heads/master
$(GPG) --detach-sign --armor $<
install: $(doc_info)
- 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
install -D $(doc_info) --target-directory $(infodir)
clean: