]> git.saurik.com Git - apple/launchd.git/blame - Makefile
launchd-106.tar.gz
[apple/launchd.git] / Makefile
CommitLineData
e91b9f68
A
1Project = launchd
2Extra_Configure_Flags = --sbindir=/sbin --bindir=/bin --sysconfdir=/private/etc
3GnuAfterInstall = launchd_after_install
4include $(MAKEFILEPATH)/CoreOS/ReleaseControl/GNUSource.make
5Install_Flags = DESTDIR=$(DSTROOT)
6
7launchd_after_install::
8ifeq ($(RC_ProjectName),launchd_libs)
9 -find -d $(DSTROOT) -type f | grep -v /usr/local/lib/system | xargs rm
10 -find -d $(DSTROOT) -type l | grep -v /usr/local/lib/system | xargs rm
11 -find -d $(DSTROOT) -type d | grep -v /usr/local/lib/system | xargs rmdir
12else
13 mkdir -p $(DSTROOT)/Library/StartupItems
14 chmod 755 $(DSTROOT)/Library/StartupItems
15 rm -rf $(DSTROOT)/usr/local/lib/system
16endif
17
18launchd_libs:: install