Print this page
re #13553 rb4471 add ipkg brand scripts
@@ -20,17 +20,27 @@
#
#
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
#
+# Copyright 2013 Nexenta Systems, Inc. All rights reserved.
+#
PROG=query
SHARED= common.ksh query uninstall.ksh
+TEMPLATES= SUNWdefault.xml SUNWblank.xml
+CLOBBERFILES= $(ROOTPROGS) $(ROOTSHARED) $(ROOTTEMPLATES)
include $(SRC)/cmd/Makefile.cmd
include ../../Makefile.brand
+.KEEP_STATE:
+
+all: $(PROG)
+
+install: $(ROOTPROGS) $(ROOTSHARED) $(ROOTTEMPLATES)
+
$(ROOTSHAREDDIR)/common.ksh := FILEMODE = 0444
$(ROOTSHAREDDIR)/uninstall.ksh := FILEMODE = 0444
POFILES= common.po query.po uninstall.po
POFILE= shared.po
@@ -37,14 +47,10 @@
$(POFILE): $(POFILES)
$(RM) $@
$(CAT) $(POFILES) > $@
-all: $(PROG)
-
-install: $(ROOTSHARED)
-
clean:
lint:
include $(SRC)/cmd/Makefile.targ