PERFORCE change 111049 for review

Todd Miller millert at FreeBSD.org
Mon Dec 4 10:39:35 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=111049

Change 111049 by millert at millert_g5tower on 2006/12/04 18:39:07

	Install man page

Affected files ...

.. //depot/projects/trustedbsd/sedarwin8/darwin/file_cmds/ls/Makefile#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/file_cmds/ls/Makefile.postamble#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/file_cmds/ls/Makefile.preamble#2 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin8/darwin/file_cmds/ls/Makefile#2 (text+ko) ====

@@ -7,8 +7,6 @@
 # and Makefile.postamble (both optional), and Makefile will include them.
 #
 
-include ../../../Makeconfig
-
 NAME = ls
 
 PROJECTVERSION = 2.8
@@ -20,7 +18,7 @@
 
 OTHERSRCS = Makefile Makefile.preamble Makefile.postamble ls.1
 
-OTHER_CFLAGS =	-DCOLORLS -I$(EXPORT_HDRS)/bsd -I$(EXPORT_HDRS)/security \
+OTHER_CFLAGS =	-DCOLORLS \
 		-I/System/Library/Frameworks/System.framework/PrivateHeaders
 OTHER_LDFLAGS = -lncurses
 
@@ -35,8 +33,6 @@
 
 
 
-NEXTSTEP_BUILD_OUTPUT_DIR = $(DARWIN_ROOT)/file_cmds/Build/$(NAME)
-
 NEXTSTEP_OBJCPLUS_COMPILER = /usr/bin/cc
 WINDOWS_OBJCPLUS_COMPILER = $(DEVDIR)/gcc
 PDO_UNIX_OBJCPLUS_COMPILER = $(NEXTDEV_BIN)/gcc

==== //depot/projects/trustedbsd/sedarwin8/darwin/file_cmds/ls/Makefile.postamble#2 (text+ko) ====

@@ -1,1 +1,6 @@
-include $(CoreOSMakefiles)/ProjectBuilder/Makefile.Postamble.Common
+INSTALL_AS_USER = $(BINOWN)
+INSTALL_AS_GROUP = $(BINGRP)
+
+after_install:
+	install -m 755 -o $(MANOWN) -g $(MANGRP) -d $(DSTROOT)/usr/share/man/man1
+	install -m 644 -o $(MANOWN) -g $(MANGRP) -c ls.1 $(DSTROOT)/usr/share/man/man1

==== //depot/projects/trustedbsd/sedarwin8/darwin/file_cmds/ls/Makefile.preamble#2 (text+ko) ====

@@ -1,1 +1,2 @@
-include $(CoreOSMakefiles)/ProjectBuilder/Makefile.Preamble.Common
+-include ../../../Makeconfig
+OTHER_CFLAGS += -I$(EXPORT_HDRS)/bsd -I$(EXPORT_HDRS)/security


More information about the p4-projects mailing list