Print this page
11626 introduce /etc/versions/build
11627 clean up UUID code for ::status
*** 20,29 ****
--- 20,31 ----
#
#
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright 2019 Joyent, Inc.
+ #
PROG= profile .login ksh.kshrc system
PROGSKEL= .profile .kshrc
PROGROOT= .profile .bashrc
*** 30,39 ****
--- 32,43 ----
include ../Makefile.cmd
ROOTROOT= $(ROOT)/root
ROOTETCSKEL= $(ROOTETC)/skel
ROOTETCSKELPROG= $(PROGSKEL:%=$(ROOTETCSKEL)/%)
+ ROOTETCVERSIONS= $(ROOTETC)/versions
+ ROOTETCVERSIONSPROG= $(ROOTETCVERSIONS)/build
ROOTROOTPROG= $(PROGROOT:%=$(ROOTROOT)/%)
FILEMODE= 0644
CLOBBERFILES = profile .bashrc .profile .login .kshrc
*** 64,79 ****
$(ROOTROOT)/% \
$(ROOTETCSKEL)/%: %
$(INS.file)
$(ROOTROOT) \
$(ROOTETCSKEL):
$(INS.dir)
! install: all $(ROOTETCSKEL) $(ROOTETCPROG) $(ROOTETCSKELPROG) $(ROOTROOTPROG)
clean:
clobber:
$(RM) $(CLOBBERFILES)
! lint:
--- 68,92 ----
$(ROOTROOT)/% \
$(ROOTETCSKEL)/%: %
$(INS.file)
$(ROOTROOT) \
+ $(ROOTETCVERSIONS) \
$(ROOTETCSKEL):
$(INS.dir)
! $(ROOTETCVERSIONSPROG): $(ROOTETCVERSIONS) FRC
! if [[ -n "$$BUILDVERSION_EXEC" ]]; then \
! $$BUILDVERSION_EXEC >$(ROOTETCVERSIONSPROG) ; \
! else \
! touch $(ROOTETCVERSIONSPROG) ; \
! fi
+ install: all $(ROOTETCSKEL) $(ROOTETCPROG) \
+ $(ROOTETCSKELPROG) $(ROOTROOTPROG) $(ROOTETCVERSIONSPROG)
+
clean:
clobber:
$(RM) $(CLOBBERFILES)
! FRC: