/[fai]/trunk/Makefile
ViewVC logotype

Contents of /trunk/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5076 - (hide annotations) (download)
Thu Sep 4 13:40:04 2008 UTC (4 years, 8 months ago) by lange
File size: 2059 byte(s)
remove make-fai-bootfloppy script and man page (closes: #452375)
1 lange 32 include VERSION
2    
3 lange 4058 SHELL=/bin/bash
4 lange 2937 DESTDIR=$(shell pwd)/debian/tmp
5 lange 2930 export DOCDIR = $(shell pwd)/debian/fai-doc/usr/share/doc/fai-doc
6 lange 32 LIBDIR = $(DESTDIR)/usr/lib/fai
7 lange 4960 SHAREDIR = $(DESTDIR)/usr/share/fai
8 lange 5076 USRSBIN_SCRIPTS = make-fai-nfsroot fai-setup fcopy ftar install_packages fai-chboot faimond fai-cd fai setup_harddisks faireboot fai-statoverride setup-storage
9 lange 2938
10 lange 4582 USRBIN_SCRIPTS = fai-class fai-do-scripts fai-mirror fai-debconf device2grub policy-rc.d.fai ainsl faimond-gui
11 lange 3867
12 lange 4960 # do not include .svn dir and setup-storage subdir
13     libfiles=$(patsubst lib/setup-storage,,$(wildcard lib/[a-z]*))
14 lange 2
15 lange 131 all:
16 lange 176 $(MAKE) -C doc all
17 lange 32
18 lange 2 clean:
19 lange 3413 find -name svn-commit\*.tmp -o -name svn-commit.tmp~ | xargs -r rm
20 lange 176 $(MAKE) -C doc clean
21 lange 2
22 lange 408 veryclean: clean
23 lange 701 $(MAKE) -f debian/rules clean
24 lange 408
25 lange 88 install:
26 lange 3704 mkdir -p $(DESTDIR)/{sbin,man} $(DESTDIR)/etc/{modutils,dhcp3,apt/apt.conf.d}
27     mkdir -p $(DESTDIR)/usr/{sbin,bin} $(DESTDIR)/usr/lib/fai $(DESTDIR)/etc/fai/apt
28 lange 4960 mkdir -p $(DESTDIR)/etc/init.d $(DESTDIR)/usr/share/fai/{pixmaps,setup-storage}
29 lange 2937 install man/* $(DESTDIR)/man
30 lange 1581 $(MAKE) -C doc install
31 lange 2941 -install $(libfiles) $(LIBDIR)
32 lange 4960 install lib/setup-storage/* $(SHAREDIR)/setup-storage
33 lange 3022 cd bin ; install $(USRSBIN_SCRIPTS) $(DESTDIR)/usr/sbin
34     cd bin ; install $(USRBIN_SCRIPTS) $(DESTDIR)/usr/bin
35     install bin/fai-start-stop-daemon $(DESTDIR)/sbin
36 lange 3503 install bin/dhclient-fai-script $(DESTDIR)/etc/dhcp3
37     install -m644 conf/dhclient-fai.conf $(DESTDIR)/etc/dhcp3
38 lange 3158 install -m644 conf/apt.conf $(DESTDIR)/etc/apt/apt.conf.d/90fai
39 lange 3699 install -m644 conf/fai.conf conf/menu.lst $(DESTDIR)/etc/fai/
40 lange 3086 install -m644 conf/make-fai-nfsroot.conf $(DESTDIR)/etc/fai/
41 lange 3699 install -m644 conf/sources.list $(DESTDIR)/etc/fai/apt/
42 lange 3840 install -m644 conf/NFSROOT $(DESTDIR)/etc/fai
43 lange 3699 install -m644 conf/fai_modules_off $(DESTDIR)/etc/modutils
44 lange 4517 install -m755 lib/fai-abort $(DESTDIR)/etc/init.d
45 lange 4582 install -p -m644 pixmaps/*.gif $(DESTDIR)/usr/share/fai/pixmaps
46 lange 2932 perl -pi -e 's/FAIVERSIONSTRING/$(VERSIONSTRING)/' $(DESTDIR)/usr/sbin/fai
47 lange 1581 cp -a examples $(DOCDIR)
48 lange 1953 cp -a utils $(DOCDIR)/examples
49 lange 2
50 lange 131 .PHONY: clean veryclean

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.5