| 1 |
#!/usr/bin/make -f |
#!/usr/bin/make -f |
| 2 |
# |
# |
| 3 |
# Debian Installer system makefile. |
# Debian Installer system makefile. |
| 4 |
# Copyright 2001 by Joey Hess <joeyh@debian.org>. |
# Copyright 2001, 2002 by Joey Hess <joeyh@debian.org>. |
| 5 |
# Licensed under the terms of the GPL. |
# Licensed under the terms of the GPL. |
| 6 |
# |
# |
| 7 |
# This makefile builds a debian-installer system and bootable images from |
# This makefile builds a debian-installer system and bootable images from |
| 59 |
INITRD=$(DEST)/$(TYPE)-initrd.gz |
INITRD=$(DEST)/$(TYPE)-initrd.gz |
| 60 |
|
|
| 61 |
# How big a floppy image should I make? (in kilobytes) |
# How big a floppy image should I make? (in kilobytes) |
| 62 |
|
ifeq (cdrom,$(TYPE)) |
| 63 |
|
FLOPPY_SIZE=2880 |
| 64 |
|
else |
| 65 |
FLOPPY_SIZE=1440 |
FLOPPY_SIZE=1440 |
| 66 |
|
endif |
| 67 |
|
|
| 68 |
# The floppy image to create. |
# The floppy image to create. |
| 69 |
FLOPPY_IMAGE=$(DEST)/$(TYPE)-$(FLOPPY_SIZE).img |
FLOPPY_IMAGE=$(DEST)/$(TYPE)-$(FLOPPY_SIZE).img |
| 384 |
|
|
| 385 |
ifdef USER_MOUNT_HACK |
ifdef USER_MOUNT_HACK |
| 386 |
syslinux $(SYSLINUX_OPTS) $(USER_MOUNT_HACK) |
syslinux $(SYSLINUX_OPTS) $(USER_MOUNT_HACK) |
| 387 |
|
rm -f $(USER_MOUNT_HACK) |
| 388 |
else |
else |
| 389 |
syslinux $(SYSLINUX_OPTS) $(FLOPPY_IMAGE).new |
syslinux $(SYSLINUX_OPTS) $(FLOPPY_IMAGE).new |
| 390 |
endif |
endif |
| 424 |
# Add your interesting stats here. |
# Add your interesting stats here. |
| 425 |
|
|
| 426 |
|
|
| 427 |
# Upload a daily build to peope.debian.org. If you're not Joey Hess, you probably |
# Upload a daily build to peope.debian.org. If you're not Joey Hess, |
| 428 |
# don't want to use this grungy code, at least not without overrideing |
# you probably don't want to use this grungy code, at least not without |
| 429 |
# this: |
# overriding this: |
| 430 |
UPLOAD_DIR=people.debian.org:~/public_html/debian-installer/daily/ |
UPLOAD_DIR=people.debian.org:~/public_html/debian-installer/daily/ |
| 431 |
daily_build: |
daily_build: |
| 432 |
-cvs update |
-cvs update |