]> git.saurik.com Git - apple/system_cmds.git/blobdiff - at.tproj/Makefile.postamble
system_cmds-431.tar.gz
[apple/system_cmds.git] / at.tproj / Makefile.postamble
index 266d5d63b8586bdc827491292d6237f974c80bd7..e65f4818d124bc37763fd2f3c604f38efd22734a 100644 (file)
@@ -4,10 +4,12 @@ after_install::
        $(LN) -f $(INSTALLED_PRODUCTS) $(DSTROOT)$(INSTALLDIR)/atq
        $(LN) -f $(INSTALLED_PRODUCTS) $(DSTROOT)$(INSTALLDIR)/atrm
        $(LN) -f $(INSTALLED_PRODUCTS) $(DSTROOT)$(INSTALLDIR)/batch
-       mkdir -p "$(DSTROOT)/private/var/at/spool"
+       install -o daemon -d "$(DSTROOT)/private/var/at/spool"
        touch "$(DSTROOT)/private/var/at/at.deny"
+       mkdir -p "$(DSTROOT)/usr/lib"
+       ln -sf ../../var/at "$(DSTROOT)/usr/lib/cron"
        mkdir -p "$(DSTROOT)/usr/share/man/man1"
-       install -c -m 644 at.1 "$(DSTROOT)/usr/share/man/man1/at.1"
+       install -c -m 644 at.man "$(DSTROOT)/usr/share/man/man1/at.1"
        ln -f "$(DSTROOT)/usr/share/man/man1/at.1" "$(DSTROOT)/usr/share/man/man1/atrm.1"
        ln -f "$(DSTROOT)/usr/share/man/man1/at.1" "$(DSTROOT)/usr/share/man/man1/atq.1"
        ln -f "$(DSTROOT)/usr/share/man/man1/at.1" "$(DSTROOT)/usr/share/man/man1/batch.1"