]> git.saurik.com Git - apple/launchd.git/blob - Makefile
launchd-106.tar.gz
[apple/launchd.git] / Makefile
1 Project = launchd
2 Extra_Configure_Flags = --sbindir=/sbin --bindir=/bin --sysconfdir=/private/etc
3 GnuAfterInstall = launchd_after_install
4 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/GNUSource.make
5 Install_Flags = DESTDIR=$(DSTROOT)
6
7 launchd_after_install::
8 ifeq ($(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
12 else
13 mkdir -p $(DSTROOT)/Library/StartupItems
14 chmod 755 $(DSTROOT)/Library/StartupItems
15 rm -rf $(DSTROOT)/usr/local/lib/system
16 endif
17
18 launchd_libs:: install