nrelease - Add target to help w/ debugging
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 7 Nov 2010 17:14:02 +0000 (09:14 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 7 Nov 2010 17:14:02 +0000 (09:14 -0800)
* Add a nopkgs target which disables the package step, for debugging
  purposes only.

nrelease/Makefile

index 776d725..8cf271f 100644 (file)
@@ -8,7 +8,7 @@
 #
 # img is now the default (produces both the .iso and .img)
 #
-gui installer img:
+gui installer img nopkgs:
 
 #########################################################################
 #                               SETUP                                  #
@@ -113,6 +113,8 @@ ROOTSKELS?= ${REQ_ROOTSKELS}
 .if make(gui)
 ISOFILE?=              ${ISODIR}/dfly-gui.iso
 IMGFILE?=              ${ISODIR}/dfly-gui.img
+
+.if !make(nopkgs)
 PKGSRC_PACKAGES+=      meta-pkgs/modular-xorg-apps \
                        meta-pkgs/modular-xorg-drivers \
                        meta-pkgs/modular-xorg-fonts \
@@ -140,6 +142,8 @@ PKGSRC_PACKAGES+=   meta-pkgs/modular-xorg-apps \
                        net/rsync \
                        time/asclock \
                        misc/screen
+.endif
+
 ROOTSKELS+=            ${.CURDIR}/gui
 .endif