Skip to content

Instantly share code, notes, and snippets.

@arubdesu
Created May 8, 2015 18:31
Show Gist options
  • Select an option

  • Save arubdesu/9a57dff9cee483f22520 to your computer and use it in GitHub Desktop.

Select an option

Save arubdesu/9a57dff9cee483f22520 to your computer and use it in GitHub Desktop.
makefile for github.com/moretension/duti
USE_PKGBUILD=1
include /usr/local/share/luggage/luggage.make
PACKAGE_VERSION=1.5.3
TITLE=duti
REVERSE_DOMAIN=com.github.moretension.duti
PAYLOAD= \
pack-usr-local-bin-duti \
pack-duti-man
l_usr_local_share_man_man1: l_usr_local_share
@sudo mkdir -p ${WORK_D}/usr/local/share/man/man1
@sudo chown -R root:wheel ${WORK_D}/usr/local/share/man/man1
@sudo chmod -R 775 ${WORK_D}/usr/local/share/man/man1
pack-duti-man: l_usr_local_share_man_man1
@sudo ${INSTALL} -c -m 644 -c duti.1 ${WORK_D}/usr/local/share/man/man1/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment