Skip to content

Commit

Permalink
PackageMaker Filters extended for cvs, svn, git
Browse files Browse the repository at this point in the history
Put PackageMaker Content Filter into separate variable to allow for
cleaner overrides (instead of having to change PM_EXTRA_ARGS).
  • Loading branch information
cvgs committed Mar 5, 2012
1 parent 8ab0568 commit 3a5dc3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion luggage.make
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ PAYLOAD_D=${SCRATCH_D}/payload
# package's Makefile.

PM_EXTRA_ARGS=--verbose --no-recommend --no-relocate
PM_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 @@ -207,7 +208,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 3a5dc3d

Please sign in to comment.