/[fai]/trunk/Makefile
ViewVC logotype

Contents of /trunk/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1307 - (show annotations) (download)
Fri Nov 22 14:51:23 2002 UTC (10 years, 6 months ago) by lange
File size: 1711 byte(s)
ignore complaining about directory
1 include VERSION
2
3 DESTDIR=$(shell pwd)/debian/fai
4 DEB_HOST_ARCH=$(MACHTYPE)
5 DOCDIR=/usr/share/doc/fai
6 LIBDIR = $(DESTDIR)/usr/lib/fai
7 SHAREDIR = $(DESTDIR)/usr/share/fai
8 SCRIPTS = rcS_fai setup_harddisks install_packages faireboot start-stop-daemon dhclient-perl dhclient-script fcopy ftar mount2dir bootsector device2grub
9 SBIN_SCRIPTS = make-fai-nfsroot make-fai-bootfloppy fai-setup fcopy ftar bootsector
10 CONFFILES= apt.conf dhclient.conf fai_modules_off pxelinux.cfg
11
12 # files with variable KERNLEVERSION in it; this string will be substituted
13 KVERSION_FILES = $(DESTDIR)/etc/fai/fai.conf $(SHAREDIR)/templates/class/DEFAULT.var $(SHAREDIR)/templates/class/ATOMCLIENT.var $(SHAREDIR)/templates/class/pittermaennche.var
14
15 all:
16 $(MAKE) -C doc all
17
18 clean:
19 $(MAKE) -C doc clean
20
21 veryclean: clean
22 $(MAKE) -f debian/rules clean
23
24 install:
25 $(MAKE) -C doc install DOCDIR=$(DOCDIR)
26 -install -m644 lib/* $(LIBDIR)
27 cd scripts ; install $(SBIN_SCRIPTS) $(DESTDIR)/usr/sbin
28 cd scripts ; install $(SCRIPTS) $(LIBDIR)/sbin
29 install -m644 share/subroutines* $(SHAREDIR)
30 install -m644 share/Fai.pm $(DESTDIR)/usr/share/perl5/Debian
31 cd conf ; install -m644 $(CONFFILES) $(SHAREDIR)/etc/
32 install -m644 conf/fai.conf $(DESTDIR)/etc/fai/
33 cp -a examples $(DESTDIR)/$(DOCDIR)
34 cp -a utils templates $(SHAREDIR)
35 cd $(SHAREDIR)/templates/scripts ; mv NETWORK1 NETWORK; mv DEFAULT1 DEFAULT
36 perl -pi -e 's/_KERNELVERSION_/$(KERNELVERSION)/' $(KVERSION_FILES)
37 perl -pi -e 's/FAIVERSIONSTRING/$(VERSIONSTRING)/' $(LIBDIR)/sbin/rcS_fai
38 ln -fs installimage_3com $(DESTDIR)/boot/fai/bigfoot
39 ln -fs installimage_3com $(DESTDIR)/boot/fai/ant01
40 ln -fs installimage_3com $(DESTDIR)/boot/fai/atom_install
41
42 .PHONY: clean veryclean

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.5