Commit 445504da authored by Franco Fichtner's avatar Franco Fichtner

make: add `package' target

Requires FLAVOUR setting of not OpenSSL and git + gettext-tools
packages installed.
parent 8912f909
...@@ -166,6 +166,18 @@ plist: force ...@@ -166,6 +166,18 @@ plist: force
@${MAKE} -C ${.CURDIR}/lang plist @${MAKE} -C ${.CURDIR}/lang plist
@${MAKE} -C ${.CURDIR}/src plist @${MAKE} -C ${.CURDIR}/src plist
TMPDIR?= ${DESTDIR}/tmp/core-pkg
package: force
@rm -rf ${TMPDIR}
@${MAKE} DESTDIR=${TMPDIR} FLAVOUR=${FLAVOUR} install
@${MAKE} DESTDIR=${TMPDIR} scripts
@${MAKE} DESTDIR=${TMPDIR} manifest > ${TMPDIR}/+MANIFEST
@${MAKE} DESTDIR=${TMPDIR} plist > ${TMPDIR}/plist
@${PKG} create -v -m ${TMPDIR} -r ${TMPDIR} -p ${TMPDIR}/plist
@ls -lah *.txz
@rm -rf ${TMPDIR}
lint: force lint: force
find ${.CURDIR}/src ${.CURDIR}/scripts \ find ${.CURDIR}/src ${.CURDIR}/scripts \
-name "*.sh" -type f -print0 | xargs -0 -n1 sh -n -name "*.sh" -type f -print0 | xargs -0 -n1 sh -n
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment