Code Review
/
staging
/
xdg-launcher.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
templated autobuild script generation.
[staging/xdg-launcher.git]
/
autobuild
/
linux
/
autobuild.in
diff --git
a/autobuild/linux/autobuild
b/autobuild/linux/autobuild.in
similarity index 89%
rename from
autobuild/linux/autobuild
rename to
autobuild/linux/autobuild.in
index
b4c7625
..
0ff3384
100755
(executable)
--- a/
autobuild/linux/autobuild
+++ b/
autobuild/linux/autobuild.in
@@
-14,8
+14,8
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-BUILD_DIR :=
../build
-PACKAGING_DIR :=
packaging/
+BUILD_DIR :=
@CMAKE_BINARY_DIR@
+PACKAGING_DIR :=
@PROJECT_PKG_ENTRY_POINT@
VPATH = etc:$(PACKAGING_DIR):$(PACKAGING_DIR)/etc:$(BUILD_DIR)
VPATH = etc:$(PACKAGING_DIR):$(PACKAGING_DIR)/etc:$(BUILD_DIR)
@@
-41,8
+41,8
@@
package: build
@mkdir -p ${BUILD_DIR}/$@/htdocs
@mkdir -p ${BUILD_DIR}/$@/data
@mkdir -p ${DEST}
@mkdir -p ${BUILD_DIR}/$@/htdocs
@mkdir -p ${BUILD_DIR}/$@/data
@mkdir -p ${DEST}
- @cmake --build ${BUILD_DIR} --target
widget
- @c
p ${BUILD_DIR}/*wgt ${DEST}
+ @cmake --build ${BUILD_DIR} --target
packaging
+ @c
make --build ${BUILD_DIR} --target all
${BUILD_DIR}/Makefile:
@[ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR}
${BUILD_DIR}/Makefile:
@[ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR}