Lines 1-15
Link Here
|
1 |
--- Makefile.orig 2014-04-02 23:30:37 UTC |
1 |
--- Makefile.orig 2022-04-01 08:20:20 UTC |
2 |
+++ Makefile |
2 |
+++ Makefile |
3 |
@@ -27,8 +27,10 @@ src/$(LIBNAME): |
3 |
@@ -27,10 +27,12 @@ src/$(LIBNAME): |
4 |
$(CC) $(CF) -o $@ src/$(T)lib.c $(LF) |
4 |
$(CC) $(CF) -o $@ src/$(T)lib.c $(LF) |
5 |
|
5 |
|
6 |
install: |
6 |
install: |
7 |
- $(INSTALL_PROGRAM) -D src/$(LIBNAME) $(DESTDIR)$(LUA_CDIR)/$(LIBNAME) |
7 |
- $(INSTALL_PROGRAM) -D src/$(LIBNAME) $(DESTDIR)$(LUA_CDIR)/$(LIBNAME) |
8 |
- $(INSTALL_PROGRAM) -D src/$T/lom.lua $(DESTDIR)$(LUA_LDIR)/$T/lom.lua |
8 |
- $(INSTALL_PROGRAM) -D src/$T/lom.lua $(DESTDIR)$(LUA_LDIR)/$T/lom.lua |
|
|
9 |
- $(INSTALL_PROGRAM) -D src/$T/totable.lua $(DESTDIR)$(LUA_LDIR)/$T/totable.lua |
10 |
- $(INSTALL_PROGRAM) -D src/$T/threat.lua $(DESTDIR)$(LUA_LDIR)/$T/threat.lua |
9 |
+ mkdir -p $(DESTDIR)$(LUA_CDIR) |
11 |
+ mkdir -p $(DESTDIR)$(LUA_CDIR) |
10 |
+ mkdir -p $(DESTDIR)$(LUA_LDIR)/$T |
12 |
+ mkdir -p $(DESTDIR)$(LUA_LDIR)/$T |
11 |
+ $(INSTALL_PROGRAM) src/$(LIBNAME) $(DESTDIR)$(LUA_CDIR)/$(LIBNAME) |
13 |
+ $(INSTALL_PROGRAM) src/$(LIBNAME) $(DESTDIR)$(LUA_CDIR)/$(LIBNAME) |
12 |
+ $(INSTALL_PROGRAM) src/$T/lom.lua $(DESTDIR)$(LUA_LDIR)/$T/lom.lua |
14 |
+ $(INSTALL_PROGRAM) src/$T/lom.lua $(DESTDIR)$(LUA_LDIR)/$T/lom.lua |
|
|
15 |
+ $(INSTALL_PROGRAM) src/$T/totable.lua $(DESTDIR)$(LUA_LDIR)/$T/totable.lua |
16 |
+ $(INSTALL_PROGRAM) src/$T/threat.lua $(DESTDIR)$(LUA_LDIR)/$T/threat.lua |
13 |
|
17 |
|
14 |
clean: |
18 |
clean: |
15 |
$(RM) src/$(LIBNAME) $(OBJS) |
19 |
$(RM) src/$(LIBNAME) $(OBJS) |