- add MyPLC
authorMark Huang <mlhuang@cs.princeton.edu>
Mon, 27 Mar 2006 17:28:48 +0000 (17:28 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Mon, 27 Mar 2006 17:28:48 +0000 (17:28 +0000)
planetlab.mk

index 94e4e66..bf5d5e0 100644 (file)
@@ -325,6 +325,22 @@ bootcd: $(filter-out bootcd,$(ALL))
 # ...and the yum manifest
 bootcd: RPMS/yumgroups.xml
 
+#
+# MyPLC
+#
+
+myplc-MODULE := myplc pl_db plc_api plc_www plc/scripts
+myplc-SPEC := myplc/myplc.spec
+# Package must be built as root
+myplc-RPMBUILD := sudo rpmbuild
+ALL += myplc
+
+# MyPLC may require current packages
+myplc: $(filter-out myplc,$(ALL))
+
+# ...and the yum manifest
+myplc: RPMS/yumgroups.xml
+
 #
 # Installation rules
 #