Skip to content

Commit

Permalink
Merge pull request #32 from cvgs/master
Browse files Browse the repository at this point in the history
Better filtering defaults, explicit pseudo_payload
  • Loading branch information
unixorn committed Mar 6, 2012
2 parents 8ab0568 + 595912a commit 3675cdf
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions luggage.make
Expand Up @@ -73,6 +73,7 @@ PAYLOAD_D=${SCRATCH_D}/payload
# package's Makefile.

PM_EXTRA_ARGS=--verbose --no-recommend --no-relocate
M_FILTER=--filter "/CVS$$" --filter "/\.svn$$" --filter "/\.cvsignore$$" --filter "/\.cvspass$$" --filter "/(\._)?\.DS_Store$$" --filter "/\.git$$" --filter "/\.gitignore$$"

# Set to false if you want your package to install to volumes other than the boot volume
ROOT_ONLY=true
Expand Down Expand Up @@ -146,7 +147,11 @@ package_root:
# packagemaker chokes if the pkg doesn't contain any payload, making script-only
# packages fail to build mysteriously if you don't remember to include something
# in it, so we're including the /usr/local directory, since it's harmless.
scriptdir: l_usr_local
# this pseudo_payload can easily be overridden in your makefile

pseudo_payload: l_usr_local

scriptdir: pseudo_payload
@sudo mkdir -p ${SCRIPT_D}

resourcedir:
Expand Down Expand Up @@ -207,7 +212,7 @@ compile_package: payload .luggage.pkg.plist modify_packageroot
@echo "Creating ${PAYLOAD_D}/${PACKAGE_FILE}"
sudo ${PACKAGEMAKER} --root ${WORK_D} \
--id ${PACKAGE_ID} \
--filter DS_Store \
${PM_FILTER} \
--target ${PACKAGE_TARGET_OS} \
--title ${TITLE} \
--info ${SCRATCH_D}/luggage.pkg.plist \
Expand Down

0 comments on commit 3675cdf

Please sign in to comment.