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)
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
13 mkdir -p $(DSTROOT)/Library/StartupItems
14 chmod 755 $(DSTROOT)/Library/StartupItems
15 rm -rf $(DSTROOT)/usr/local/lib/system
18 launchd_libs:: install