Browse Source

Rename module file to templet.lua

Peter Colberg 3 years ago
parent
commit
1cf7aa21ab
3 changed files with 5 additions and 5 deletions
  1. 3
    3
      Makefile
  2. 0
    0
      templet.lua
  3. 2
    2
      test/Makefile

+ 3
- 3
Makefile View File

@@ -11,7 +11,7 @@ DOCDIR = $(PREFIX)/share/doc/lua-templet
11 11
 INSTALL_D = mkdir -p
12 12
 INSTALL_F = install -m 644
13 13
 
14
-FILES_LUA = init.lua
14
+FILES_LUA = templet.lua
15 15
 FILES_DOC = index.mdwn INSTALL.mdwn README.mdwn examples.mdwn reference.mdwn CHANGES.mdwn
16 16
 FILES_DOC_HTML = index.html INSTALL.html README.html examples.html reference.html CHANGES.html pandoc.css lua-templet.png
17 17
 FILES_EXAMPLES_INCLUDE = include.lua
@@ -26,8 +26,8 @@ doc:
26 26
 	@$(MAKE) -C doc
27 27
 
28 28
 install:
29
-	$(INSTALL_D) $(DESTDIR)$(LUADIR)/templet
30
-	cd templet && $(INSTALL_F) $(FILES_LUA) $(DESTDIR)$(LUADIR)/templet
29
+	$(INSTALL_D) $(DESTDIR)$(LUADIR)
30
+	$(INSTALL_F) $(FILES_LUA) $(DESTDIR)$(LUADIR)
31 31
 	$(INSTALL_D) $(DESTDIR)$(DOCDIR)
32 32
 	cd doc && $(INSTALL_F) $(FILES_DOC) $(FILES_DOC_HTML) $(DESTDIR)$(DOCDIR)
33 33
 	$(INSTALL_D) $(DESTDIR)$(DOCDIR)/examples/include

templet/init.lua → templet.lua View File


+ 2
- 2
test/Makefile View File

@@ -7,9 +7,9 @@
7 7
 LUA = lua
8 8
 
9 9
 ifdef LUA_PATH
10
-LUA_PATH := $(CURDIR)/../?.lua;$(CURDIR)/../?/init.lua;$(LUA_PATH)
10
+LUA_PATH := $(CURDIR)/../?.lua;$(LUA_PATH)
11 11
 else
12
-LUA_PATH := $(CURDIR)/../?.lua;$(CURDIR)/../?/init.lua;;
12
+LUA_PATH := $(CURDIR)/../?.lua;;
13 13
 endif
14 14
 export LUA_PATH
15 15
 

Loading…
Cancel
Save