shithub: sox

Download patch

ref: ee88eb323ed99f74750a3ba595d349758414ea61
parent: 56f45bb8a89dfcb3c87d3a2d7663bb03130dce87
author: rrt <rrt>
date: Tue Jan 2 12:19:16 EST 2007

Fix luaconf.h.template rules properly

--- a/lua/src/Makefile.am
+++ b/lua/src/Makefile.am
@@ -29,7 +29,7 @@
 # don't get exported to the shared object
 luac_LDFLAGS = -static
 
-EXTRA_DIST = luaconf.h.template.in luaconf.h.template
+EXTRA_DIST = luaconf.h.template.in
 BUILT_SOURCES = luaconf.h
 CLEANFILES = luaconf.h
 
@@ -39,7 +39,7 @@
 	  -e 's,%lua_datadir%,$(datadir),g' \
 	  -e 's,%lua_libdir%,$(libdir),g'
 
-luaconf.h : $(srcdir)/luaconf.h.template
+luaconf.h : luaconf.h.template
 	rm -f luaconf.h luaconf.h.tmp
-	$(edit) $(srcdir)/luaconf.h.template > luaconf.h.tmp
+	$(edit) luaconf.h.template > luaconf.h.tmp
 	mv luaconf.h.tmp luaconf.h