]> git.saurik.com Git - apple/system_cmds.git/blobdiff - reboot.tproj/Makefile.postamble
system_cmds-336.1.2.tar.gz
[apple/system_cmds.git] / reboot.tproj / Makefile.postamble
index 374a70558cafaa8553e208c64f830a54bdd0db0a..4424c4c4d69f06362a2eff8add25af7f1fa8dc3b 100644 (file)
@@ -1,3 +1,5 @@
-#we already have a halt?
-#after_install::
-#      $(LN) $(INSTALLED_PRODUCTS) $(DSTROOT)$(INSTALLDIR)/halt
+after_install::
+       $(LN) $(INSTALLED_PRODUCTS) $(DSTROOT)$(INSTALLDIR)/halt
+       mkdir -p $(DSTROOT)/usr/share/man/man8
+       install -c -m 444 reboot.8 $(DSTROOT)/usr/share/man/man8/
+       ln $(DSTROOT)/usr/share/man/man8/reboot.8 $(DSTROOT)/usr/share/man/man8/halt.8