mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
ea29eb6b97
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
15 lines
491 B
Diff
15 lines
491 B
Diff
# Obtained from Springdale Linux (SDL) RPM
|
|
diff -up LuaBitOp-1.0.2/Makefile.destdir LuaBitOp-1.0.2/Makefile
|
|
--- Makefile.destdir 2012-05-08 13:15:00.000000000 -0600
|
|
+++ Makefile 2014-06-26 11:20:14.380263499 -0600
|
|
@@ -39,7 +39,9 @@
|
|
$(SOCC) $(SOLDFLAGS) -o $@ $<
|
|
|
|
install: $(MODSO)
|
|
- $(INSTALL) $< `$(INSTALLPATH) $(MODNAME)`
|
|
+ file=$(DESTDIR)`$(INSTALLPATH) $(MODNAME)`; \
|
|
+ mkdir -p `dirname $$file`; \
|
|
+ $(INSTALL) $< $$file
|
|
|
|
test: $(MODSO)
|
|
@$(LUA) bittest.lua && echo "basic test OK"
|