commit 004bc4417018c7d015333fc53398ab6e6efff048
parent 156a1726ac4ea0259fc43bafb31fc2c51f7f4986
Author: Kris Maglione <jg@suckless.org>
Date: Mon, 26 May 2008 18:41:19 -0400
Merge.
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/mk/hdr.mk b/mk/hdr.mk
@@ -59,8 +59,10 @@ all:
.a.install .$(SOEXT).install:
echo INSTALL $$($(CLEANNAME) $(BASE)$<)
- cp -f $< $(LIBDIR)/$<
- chmod 0644 $(LIBDIR)/$<
+ set -e; \
+ file=$<; \
+ cp -f $< $(LIBDIR)/$${file##*/}; \
+ #chmod 0644 $(LIBDIR)/$${file##*/}
.a.uninstall .$(SOEXT).uninstall:
echo UNINSTALL $$($(CLEANNAME) $(BASE)$<)
rm -f $(LIBDIR)/$<