Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
[dragonfly.git] / nrelease / Makefile
1 # $DragonFly: src/nrelease/Makefile,v 1.90 2008/09/01 21:20:30 swildner Exp $
2 #
3
4 #########################################################################
5 #                               ENHANCEMENTS                            #
6 #########################################################################
7
8 # New method e.g. 'make gui release'.  A series of enhancement
9 # targes may be specified which set make variables which enhance
10 # the build in various ways.
11 #
12 gui installer img:
13
14 #########################################################################
15 #                                SETUP                                  #
16 #########################################################################
17
18 ISODIR ?= /usr/release
19 ISOROOT ?= ${ISODIR}/root
20 OBJSYS= ${.OBJDIR}/../sys
21
22 .if make(gui)
23 KERNCONF ?= DFLYLIVE VKERNEL DFLYLIVE-SMP DFLYLIVE-SMP-NOAPIC
24 .else
25 KERNCONF ?= GENERIC VKERNEL
26 .endif
27
28 PKGSRC_PREFIX?=         /usr/pkg
29 PKGBIN_PKG_ADD?=        ${PKGSRC_PREFIX}/sbin/pkg_add
30 PKGBIN_PKG_DELETE?=     ${PKGSRC_PREFIX}/sbin/pkg_delete
31 PKGBIN_PKG_ADMIN?=      ${PKGSRC_PREFIX}/sbin/pkg_admin
32 PKGBIN_MKISOFS?=        ${PKGSRC_PREFIX}/bin/mkisofs
33 PKGSRC_PKG_PATH?=       ${ISODIR}/packages
34 PKGSRC_DB?=             /var/db/pkg
35 PKGSRC_BOOTSTRAP_URL?=  http://pkgbox.dragonflybsd.org/DragonFly-pkgsrc-packages/i386/1.12.0-RELEASE-BUILD
36 CVSUP_BOOTSTRAP_KIT?=   cvsup-bootstrap-20070716
37
38 # We use env -i in the chroot, so that environment variables won't
39 # disturb any (pkgsrc) build.  This has happened for TARGET_ARCH,
40 # which is used by gmake in completely different context.
41 CHROOT_CMD?=            env -i CCVER=${CCVER:Q} /usr/sbin/chroot ${ISOROOT} sh -c
42
43 # User may specify extra packages in addition to the defaults
44 #
45 PKGSRC_EXTRA_PACKAGES?=
46
47 # Pkgsrc packages to be built and installed on the release ISO
48 #
49 PKGSRC_PACKAGES?=       pkgtools/pkg_leaves \
50                         pkgtools/pkg_tarup \
51                         devel/scmgit \
52                         net/isc-dhcp4 \
53                         net/isc-dhcpd4 \
54                         sysutils/cdrtools \
55                         ${PKGSRC_EXTRA_PACKAGES}
56
57 # pkgsrc options to use when building packages
58 #
59 .if !make(gui)
60 PKGSRC_OPTIONS?=        PKG_OPTIONS.scmgit=-scmgit-gui
61 .endif
62
63 # Even though buildiso wipes the packages, our check target has to run
64 # first and old packages (listed as they appear in pkg_info) must be
65 # cleaned out in order for the pkg_add -n test we use in the check target
66 # to operate properly.
67 #
68 OLD_PKGSRC_PACKAGES?=   cdrtools-2.01.01.27nb1 \
69                         cdrecord-2.00.3nb2 \
70                         bootstrap-kit-20070205 \
71                         dfuibe_installer-1.1.6 \
72                         gettext-lib-0.14.5 \
73                         dfuibe_installer-1.1.7nb1 \
74                         dfuife_curses-1.5 \
75                         gettext-lib-0.14.6 \
76                         gettext-tools-0.14.6nb1 \
77                         libaura-3.1 \
78                         libdfui-4.2 \
79                         libinstaller-5.1 \
80                         bootstrap-kit-20080211 \
81                         cdrtools-ossdvd-2.01.1.36nb2 \
82                         isc-dhcp-base-4.0.0 \
83                         isc-dhcp-server-4.0.0
84
85 # Specify which root skeletons are required, and let the user include
86 # their own.  They are copied into ISODIR during the `pkgcustomizeiso'
87 # target; each overwrites the last.
88 #
89 REQ_ROOTSKELS=  ${.CURDIR}/root \
90                 ${.CURDIR}/installer
91 ROOTSKELS?=     ${REQ_ROOTSKELS}
92
93 .if make(gui)
94 ISOFILE?=               ${ISODIR}/dfly-gui.iso
95 IMGFILE?=               ${ISODIR}/dfly-gui.img
96 PKGSRC_PACKAGES+=       meta-pkgs/modular-xorg-apps \
97                         meta-pkgs/modular-xorg-drivers \
98                         meta-pkgs/modular-xorg-fonts \
99                         meta-pkgs/modular-xorg-libs \
100                         wm/fluxbox \
101                         wm/fvwm \
102                         www/firefox3 \
103                         print/xpdf \
104                         shells/zsh \
105                         editors/emacs \
106                         editors/vim \
107                         chat/pidgin \
108                         chat/irssi \
109                         chat/xchat \
110                         x11/modular-xorg-server \
111                         x11/rxvt-unicode \
112                         x11/eterm \
113                         lang/perl5 \
114                         editors/nano \
115                         shells/bash \
116                         devel/exctags \
117                         archivers/zip \
118                         security/sudo \
119                         www/links-gui \
120                         net/nmap \
121                         net/wget \
122                         fonts/terminus-font \
123                         net/rsync \
124                         sysutils/idesk \
125                         time/asclock \
126                         misc/screen
127 ROOTSKELS+=             ${.CURDIR}/gui
128 .endif
129
130 ISOFILE ?= ${ISODIR}/dfly.iso
131 IMGFILE ?= ${ISODIR}/dfly.img
132
133 IMGMNT ?= ${ISODIR}/mnt
134 IMGUSBDEV ?= /dev/da0
135
136 # note: we use the '${NRLOBJDIR}/nrelease' construct, that is we add
137 # the additional '/nrelease' manually, as a safety measure.
138 #
139 NRLOBJDIR?= /usr/obj
140
141 #########################################################################
142 #                               BASE ISO TARGETS                        #
143 #########################################################################
144
145 release:        check clean buildworld1 buildkernel1 \
146                 buildiso syssrcs customizeiso mkaliases mklocatedb \
147                 mkiso mkimg
148
149 quickrel:       check clean buildworld2 buildkernel2 \
150                 buildiso syssrcs customizeiso mkaliases mklocatedb \
151                 mkiso mkimg
152
153 realquickrel:   check clean buildiso syssrcs customizeiso \
154                 mkaliases mklocatedb \
155                 mkiso mkimg
156
157 restartpkgs:    check customizeiso mkaliases mklocatedb mkiso mkimg
158
159 quick:          quickrel
160
161 realquick:      realquickrel
162
163
164 #########################################################################
165 #                          CORE SUPPORT TARGETS                         #
166 #########################################################################
167
168 check:
169 .if !exists(${PKGBIN_PKG_ADMIN})
170         @echo "You never bootstrapped pkgsrc on your machine.  You can install it with:"
171         @echo "    make pkgsrc_bootstrap"
172 .endif
173 .if !exists(${PKGSRC_PKG_PATH}/${CVSUP_BOOTSTRAP_KIT}.tgz)
174         @echo "The cvsup bootstrap kit is not installed.  You can install it with:"
175         @echo "    make fetch"
176 .endif
177 .if !exists (${PKGBIN_MKISOFS})
178         @echo
179         @echo "Your machine does not have cdrtools installed.  You can install it with:"
180         @echo "    make pkgsrc_cdrecord"
181 .endif
182 .if !defined(PKGSRC_PATH)
183         @echo "Please set PKGSRC_PATH to the pkgsrc tree that shall be used for"
184         @echo "package building.  For example /usr/pkgsrc.  See the Makefile"
185         @echo "in /usr if you are unfamiliar with pkgsrc."
186 .endif
187 .if !exists(${PKGSRC_PKG_PATH}/${CVSUP_BOOTSTRAP_KIT}.tgz)
188         @exit 1
189 .endif
190 .if !exists (${PKGBIN_MKISOFS})
191         @exit 1
192 .endif
193 .if !defined(PKGSRC_PATH)
194         @exit 1
195 .endif
196
197 buildworld1 buildworld2:
198         cd ${.CURDIR}/..; ${WORLD_CCVER:C/^..*$/WORLD_CCVER=/}${WORLD_CCVER} make -DWANT_INSTALLER ${.TARGET:C/build(.*)2/quick\1/:C/1//}
199
200 buildkernel1 buildkernel2:
201 .if make(gui)
202         cd ${.CURDIR}/..; \
203         for kernconf in ${KERNCONF}; do \
204                 ${WORLD_CCVER:C/^..*$/WORLD_CCVER=/}${WORLD_CCVER} \
205                 make ${.TARGET:C/build(.*)2/quick\1/:C/1//} \
206                         KERNCONF=$${kernconf} KERNCONFDIR=${.CURDIR}/gui/root; \
207         done
208 .else
209         cd ${.CURDIR}/..; \
210         first=; \
211         for kernconf in ${KERNCONF}; do \
212                 ${WORLD_CCVER:C/^..*$/WORLD_CCVER=/}${WORLD_CCVER} \
213                 make ${.TARGET:C/build(.*)2/quick\1/:C/1//} \
214                         KERNCONF=$${kernconf} \
215                         $${first:+-DNO_MODULES}; \
216                 first=done; \
217         done
218 .endif
219
220 # note that we do not want to mess with any /usr/obj directories not related
221 # to buildworld, buildkernel, or nrelease, so we must supply the proper
222 # MAKEOBJDIRPREFIX for targets that are not run through the buildworld and 
223 # buildkernel mechanism.
224 #
225 buildiso:
226         if [ ! -d ${ISOROOT} ]; then mkdir -p ${ISOROOT}; fi
227         if [ ! -d ${NRLOBJDIR}/nrelease ]; then mkdir -p ${NRLOBJDIR}/nrelease; fi
228         ( cd ${.CURDIR}/..; make -DWANT_INSTALLER DESTDIR=${ISOROOT} installworld )
229         ( cd ${.CURDIR}/../etc; MAKEOBJDIRPREFIX=${NRLOBJDIR}/nrelease \
230                 make -m ${.CURDIR}/../share/mk DESTDIR=${ISOROOT} distribution )
231         cpdup ${ISOROOT}/etc ${ISOROOT}/etc.hdd
232 .if make(gui)
233         if [ ! -d ${ISOROOT}/kernel.smp/boot ]; then mkdir -p ${ISOROOT}/kernel.smp/boot; fi
234         cd ${.CURDIR}/..; \
235         make installkernel DESTDIR=${ISOROOT} \
236         KERNCONF=DFLYLIVE DESTKERNNAME=kernel KERNCONFDIR=${.CURDIR}/gui/root; \
237         cd ${.CURDIR}/..; \
238         make installkernel DESTDIR=${ISOROOT} \
239         KERNCONF=VKERNEL DESTKERNNAME=kernel.VKERNEL -DNO_MODULES KERNCONFDIR=${.CURDIR}/gui/root; \
240         cd ${.CURDIR}/..; \
241         make installkernel DESTDIR=${ISOROOT}/kernel.smp \
242         KERNCONF=DFLYLIVE-SMP DESTKERNNAME=kernel KERNCONFDIR=${.CURDIR}/gui/root; \
243         cd ${.CURDIR}/..; \
244         make installkernel DESTDIR=${ISOROOT}/kernel.smp \
245         KERNCONF=DFLYLIVE-SMP-NOAPIC DESTKERNNAME=kernel.noapic \
246                 KERNCONFDIR=${.CURDIR}/gui/root -DNO_MODULES;
247 .else
248         cd ${.CURDIR}/..; \
249         first=; \
250         for kernconf in ${KERNCONF}; do \
251                 make DESTDIR=${ISOROOT} \
252                         installkernel KERNCONF=$${kernconf} \
253                         $${first:+DESTKERNNAME=kernel.$${kernconf}} \
254                         $${first:+-DNO_MODULES}; \
255                 first=done; \
256         done
257 .endif
258         ln -s kernel ${ISOROOT}/kernel.BOOTP
259         mtree -deU -f ${.CURDIR}/../etc/mtree/BSD.local.dist -p ${ISOROOT}/usr/local/
260         mtree -deU -f ${.CURDIR}/../etc/mtree/BSD.var.dist -p ${ISOROOT}/var
261         dev_mkdb -f ${ISOROOT}/var/run/dev.db ${ISOROOT}/dev
262
263 # Release CD: Kernel sources (~16M) and the full pkgsrc tree (~26M)
264 # Release DVD: Full sources (~90M) and the full pkgsrctree (~27M)
265 #
266 syssrcs:
267         cd ${PKGSRC_PATH} && tar --exclude distfiles --exclude work --exclude CVS --exclude .git \
268                 -czf ${ISOROOT}/usr/pkgsrc-all.tgz .
269 .if make(gui)
270         rm -f ${ISOROOT}/usr/src-sys.tgz
271         cd ${.CURDIR}/../.. && tar --exclude .git --exclude CVS \
272                 -czf ${ISOROOT}/usr/src-all.tgz src
273 .else
274 .if !defined(WITHOUT_SRCS)
275         rm -f ${ISOROOT}/usr/src-all.tgz
276         cd ${.CURDIR}/../.. && tar --exclude .git --exclude CVS \
277                 -czf ${ISOROOT}/usr/src-sys.tgz src/Makefile src/Makefile.inc1 src/sys
278 .endif
279 .endif
280
281 # Customize the ISO by copying rootskels in reverse priority order,
282 # building packages, and doing other post-install tasks.
283 #
284 customizeiso:
285         # Copy the rootskels.  Allow sources to be owned by someone other
286         # then root (as is common when checked out via git).
287         #
288 .for ROOTSKEL in ${ROOTSKELS}
289         cpdup -X cpignore -o ${ROOTSKEL} ${ISOROOT}
290         @test -O ${.CURDIR} || echo "chowning copied files to root:wheel"
291         @test -O ${.CURDIR} || ((cd ${ROOTSKEL} && find .) | fgrep -v cpignore | (cd ${ISOROOT} && xargs chown root:wheel))
292 .endfor
293         (cd ${PKGSRC_PKG_PATH}; tar xzpf ${CVSUP_BOOTSTRAP_KIT}.tgz)
294         cp -p ${PKGSRC_PKG_PATH}/${CVSUP_BOOTSTRAP_KIT}/usr/local/bin/cvsup ${ISOROOT}/usr/local/bin/cvsup
295         cp -p ${PKGSRC_PKG_PATH}/${CVSUP_BOOTSTRAP_KIT}/usr/local/man/man1/cvsup.1 ${ISOROOT}/usr/local/man/man1/cvsup.1
296         pwd_mkdb -p -d ${ISOROOT}/etc ${ISOROOT}/etc/master.passwd
297 .for UPGRADE_ITEM in Makefile                   \
298                      etc.${MACHINE_ARCH}        \
299                      isdn/Makefile              \
300                      rc.d/Makefile              \
301                      periodic/Makefile          \
302                      periodic/daily/Makefile    \
303                      periodic/security/Makefile \
304                      periodic/weekly/Makefile   \
305                      periodic/monthly/Makefile
306         cp -R ${.CURDIR}/../etc/${UPGRADE_ITEM} ${ISOROOT}/etc/${UPGRADE_ITEM}
307 .endfor
308         #
309         # Setup some things & mount pkgsrc tree.  Use defensive umounts and
310         # rm -rf's to allow restarts.  Allow /usr/pkgsrc to be read-only.
311         #
312         # If we did not get past the bootstrap we clean out the entire
313         # /usr/pkg infrastructure.  Otherwise we attempt to pick up where
314         # we left off.
315         #
316         cp -p /etc/resolv.conf ${ISOROOT}/etc
317         ${CHROOT_CMD} "ldconfig -elf /usr/lib /usr/lib/gcc* /usr/lib/compat"
318         -@umount ${ISOROOT}/usr/pkgsrc/distfiles
319         -@umount ${ISOROOT}/usr/pkgsrc
320         mkdir -p ${ISODIR}/distfiles
321         rm -rf ${ISOROOT}/usr/pkgobj
322         #
323         # Mount /usr/pkgsrc, make sure /usr/pkgsrc/distfiles is writable
324         #
325         mkdir -p ${ISOROOT}/usr/pkgobj
326         mkdir -p ${ISOROOT}/usr/pkgobj/bootstrap/work
327         mkdir -p ${ISOROOT}/usr/pkgsrc
328         mount_null ${PKGSRC_PATH} ${ISOROOT}/usr/pkgsrc
329         cp /etc/shells ${ISOROOT}/usr/pkgsrc/distfiles/.test > /dev/null 2>&1 \
330             || mount_null ${ISODIR}/distfiles ${ISOROOT}/usr/pkgsrc/distfiles
331         #
332         # Bootstrap, if not already installed, and add licenses needed
333         # for the gui release
334         #
335         test -e ${ISODIR}/.didbootstrap || \
336             rm -rf ${ISOROOT}/usr/pkg ${ISOROOT}/var/db/pkg \
337                     ${ISOROOT}/var/db/pkg.refcount
338         test -e ${ISODIR}/.didbootstrap || \
339             ${CHROOT_CMD} "cd /usr/pkgsrc/bootstrap;    \
340                 ./bootstrap --workdir /usr/pkgobj/bootstrap/work"
341         test -e ${ISODIR}/.didbootstrap || \
342             echo ".ifdef BSD_PKG_MK     # added by nrelease" \
343                 >> ${ISOROOT}/usr/pkg/etc/mk.conf
344         test -e ${ISODIR}/.didbootstrap || \
345             echo "ACCEPTABLE_LICENSES+=openmotif-license" \
346                 >> ${ISOROOT}/usr/pkg/etc/mk.conf
347         test -e ${ISODIR}/.didbootstrap || \
348             echo "ACCEPTABLE_LICENSES+=vim-license" \
349                 >> ${ISOROOT}/usr/pkg/etc/mk.conf
350         test -e ${ISODIR}/.didbootstrap || \
351             echo ".endif                        # added by nrelease" \
352                 >> ${ISOROOT}/usr/pkg/etc/mk.conf
353         test -e ${ISODIR}/.didbootstrap || sync
354         test -e ${ISODIR}/.didbootstrap || touch ${ISODIR}/.didbootstrap
355         #
356         # Build and install packages, skip packages already installed
357         #
358 .for PKG in ${PKGSRC_PACKAGES}
359         ${CHROOT_CMD} "cd /usr/pkgsrc/${PKG} && \
360             (bmake WRKOBJDIR=/usr/pkgobj check > /dev/null 2>&1 || \
361             bmake WRKOBJDIR=/usr/pkgobj ${PKGSRC_OPTIONS} clean build install)"
362 .endfor
363         #
364         # Remove packages which nothing depends on and clean up
365         #
366         ${CHROOT_CMD} "pkg_leaves | xargs pkg_delete -R"
367         -umount ${ISOROOT}/usr/pkgsrc/distfiles
368         umount ${ISOROOT}/usr/pkgsrc
369         rmdir ${ISOROOT}/usr/pkgsrc
370         rm -rf ${ISOROOT}/usr/pkgobj
371         rm -f ${ISOROOT}/etc/resolv.conf
372         makewhatis ${ISOROOT}/usr/local/man
373         makewhatis ${ISOROOT}/usr/pkg/man
374
375 # So a CD boot does not complain about a missing aliases database
376 #
377 mkaliases:
378         ${CHROOT_CMD} "newaliases"
379
380 # So locate works
381 #
382 mklocatedb:
383         ( find -s ${ISOROOT} -path ${ISOROOT}/tmp -or \
384                 -path ${ISOROOT}/usr/tmp -or -path ${ISOROOT}/var/tmp \
385                 -prune -o -print | sed -e 's#^${ISOROOT}##g' | \
386                 /usr/libexec/locate.mklocatedb \
387                 -presort >${ISOROOT}/var/db/locate.database )
388
389 mkiso:
390         ( cd ${ISOROOT}; ${PKGBIN_MKISOFS} -b boot/cdboot -no-emul-boot \
391                 -R -J -o ${ISOFILE} \
392                 -V DragonFly-`${.CURDIR}/../tools/gitrev.sh | cut -c -22` . )
393
394
395 mkimg:
396 .if make(img)
397         if [ ! -d ${IMGMNT} ]; then mkdir -p ${IMGMNT}; fi
398
399         echo "determine required image size" > /dev/null;               \
400         sz=`du -ck ${ISOROOT} | tail -n 1 | cut -f 1`;                  \
401         echo "add 15% more space as required" > /dev/null;              \
402         sz=`bc -e "(($${sz}) / 1024) * 1.15" -equit | cut -f1 -d.`;     \
403         dd if=/dev/zero of=${IMGFILE} bs=1m count=$${sz};               \
404         fdisk -IB -p ${IMGFILE};                                        \
405         echo "determine free vn device" > /dev/null;                    \
406         vn=`vnconfig -l | grep "not in use" | head -n 1 | cut -f 1 -d:`; \
407         vnconfig -e -s labels $${vn} ${IMGFILE};                        \
408         echo "write standard disklabel" > /dev/null;                    \
409         disklabel -w -r $${vn}s1 auto;                                  \
410         echo "read disklabel back" > /dev/null;                         \
411         disklabel -r $${vn}s1 > ${IMGFILE}.label;                       \
412         echo "determine number of sectors of whole disk" > /dev/null;   \
413         secs=`tail -n 1 ${IMGFILE}.label | cut -f 3 -w`;                \
414         echo "and add a: partition" > /dev/null;                        \
415         echo "  a:  $${secs} 0 4.2BSD" >> ${IMGFILE}.label;             \
416         echo "write modified disklabel back" > /dev/null;               \
417         disklabel -R -r $${vn}s1 ${IMGFILE}.label;                      \
418         rm ${IMGFILE}.label;                                            \
419         echo "write bootsector" >  /dev/null;                           \
420         disklabel -B $${vn}s1;                                          \
421         newfs /dev/$${vn}s1a;                                           \
422         mount /dev/$${vn}s1a ${IMGMNT};                                 \
423         cpdup -vvv ${ISOROOT} ${IMGMNT};                                \
424         echo "fix /etc/fstab" > /dev/null;                              \
425         echo "${IMGUSBDEV}s1a / ufs rw 0 0" > ${IMGMNT}/etc/fstab;      \
426         echo "proc /proc procfs rw 0 0" >> ${IMGMNT}/etc/fstab;         \
427         df ${IMGMNT};                                                   \
428         umount ${IMGMNT};                                               \
429         vnconfig -u $${vn};                                             \
430         rmdir ${IMGMNT}
431 .endif
432
433 clean:
434         -umount ${ISOROOT}/usr/pkgsrc/distfiles > /dev/null 2>&1
435         -umount ${ISOROOT}/usr/pkgsrc > /dev/null 2>&1
436         if [ -d ${ISOROOT} ]; then chflags -R noschg ${ISOROOT}; fi
437         rm -rf ${ISOROOT}
438         rm -rf ${NRLOBJDIR}/nrelease
439         rm -f ${ISODIR}/.didbootstrap
440
441 realclean:      clean
442         rm -rf ${OBJSYS}/${KERNCONF}
443         #
444         # do not use PKGSRC_PKG_PATH here, we do not want to destroy an
445         # override location.
446         #
447         rm -rf ${ISODIR}/packages
448         rm -rf ${ISODIR}/distfiles
449
450 fetch:
451         @if [ ! -d ${PKGSRC_PKG_PATH} ]; then mkdir -p ${PKGSRC_PKG_PATH}; fi
452 .if !exists(${PKGSRC_PKG_PATH}/${CVSUP_BOOTSTRAP_KIT}.tgz)
453         (cd ${PKGSRC_PKG_PATH}; fetch ${PKGSRC_BOOTSTRAP_URL}/${CVSUP_BOOTSTRAP_KIT}.tgz)
454 .endif
455
456 pkgsrc_bootstrap:
457 .if !exists(${PKGSRC_PKG_PATH}/${PKGSRC_BOOTSTRAP_KIT}.tgz)
458         mkdir -p /usr/release/bootstrap
459         (cd ${PKGSRC_PATH}/bootstrap; ./bootstrap --workdir /usr/release/bootstrap)
460 .endif
461
462 pkgsrc_cdrecord:
463 .if !exists (${PKGBIN_MKISOFS})
464         (cd ${PKGSRC_PATH}/sysutils/cdrtools; bmake clean build install)
465 .endif
466
467 help:
468         @echo "make [gui] release   - complete build from scratch"
469         @echo "make [gui] quick     - attempt to do an incremental rebuild"
470         @echo "make [gui] realquick - attempt to restart after world & kernel"
471         @echo "make [gui] restartpkgs - attempt to restart at the pkg building stage"
472         @echo ""
473         @echo "Extra packages may be specified with PKGSRC_EXTRA_PACKAGES"
474
475 .PHONY: all release installer_release quickrel installer_quickrel realquickrel
476 .PHONY: installer_fetch installer
477 .PHONY: quick realquick
478 .PHONY: installer_realquickrel check buildworld1 buildworld2
479 .PHONY: buildkernel1 buildkernel2 buildiso customizeiso mklocatedb mkiso mkimg
480 .PHONY: clean realclean fetch help mkaliases
481
482 .include <bsd.prog.mk>