Commit 4cf5966d authored by Franco Fichtner's avatar Franco Fichtner

make: add `package' target

Requires FLAVOUR setting of not OpenSSL and git + gettext-tools
packages installed.

(cherry picked from commit 445504da)
parent 79ada176
...@@ -167,6 +167,18 @@ plist: force ...@@ -167,6 +167,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