Fix generation of config.js
* Create the misc/ subdir of the build dir if it doesn't exist * Add config.js to CLEANFILES
This commit is contained in:
parent
dd8a53d5e0
commit
30e4f80894
@ -1,7 +1,9 @@
|
|||||||
|
|
||||||
EXTRA_DIST = misc/config.js.in
|
EXTRA_DIST = misc/config.js.in
|
||||||
|
CLEANFILES = misc/config.js
|
||||||
|
|
||||||
misc/config.js: misc/config.js.in Makefile
|
misc/config.js: misc/config.js.in Makefile
|
||||||
|
[ -d $(@D) ] || $(mkdir_p) $(@D) ; \
|
||||||
sed -e "s|[@]PACKAGE_NAME@|$(PACKAGE_NAME)|g" \
|
sed -e "s|[@]PACKAGE_NAME@|$(PACKAGE_NAME)|g" \
|
||||||
-e "s|[@]PACKAGE_VERSION@|$(PACKAGE_VERSION)|g" \
|
-e "s|[@]PACKAGE_VERSION@|$(PACKAGE_VERSION)|g" \
|
||||||
-e "s|[@]GJS_VERSION@|$(GJS_VERSION)|g" \
|
-e "s|[@]GJS_VERSION@|$(GJS_VERSION)|g" \
|
||||||
|
Loading…
Reference in New Issue
Block a user