/[fai]/trunk/Makefile
ViewVC logotype

Contents of /trunk/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5886 - (hide annotations) (download)
Wed Jul 28 02:24:59 2010 UTC (2 years, 10 months ago) by lange
File size: 2385 byte(s)
* faimond-gui: add option -s
* Makefile: add support for small pixmaps in faimond-gui
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 5852 USRSBIN_SCRIPTS = make-fai-nfsroot fai-setup fcopy ftar install_packages fai-chboot faimond fai-cd fai faireboot fai-statoverride setup-storage dhcp-edit
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 5886 mkdir -p $(DESTDIR)/etc/{init,init.d} $(DESTDIR)/usr/share/fai/{pixmaps/small,setup-storage}
29 lange 2937 install man/* $(DESTDIR)/man
30 lange 5816 pod2man -c '' -r '' -s8 bin/dhcp-edit > $(DESTDIR)/man/dhcp-edit.8
31 lange 1581 $(MAKE) -C doc install
32 lange 2941 -install $(libfiles) $(LIBDIR)
33 lange 4960 install lib/setup-storage/* $(SHAREDIR)/setup-storage
34 lange 3022 cd bin ; install $(USRSBIN_SCRIPTS) $(DESTDIR)/usr/sbin
35     cd bin ; install $(USRBIN_SCRIPTS) $(DESTDIR)/usr/bin
36     install bin/fai-start-stop-daemon $(DESTDIR)/sbin
37 lange 3503 install bin/dhclient-fai-script $(DESTDIR)/etc/dhcp3
38     install -m644 conf/dhclient-fai.conf $(DESTDIR)/etc/dhcp3
39 lange 3158 install -m644 conf/apt.conf $(DESTDIR)/etc/apt/apt.conf.d/90fai
40 mt 5317 install -m644 conf/fai.conf conf/menu.lst conf/live.conf $(DESTDIR)/etc/fai/
41 lange 3086 install -m644 conf/make-fai-nfsroot.conf $(DESTDIR)/etc/fai/
42 lange 3699 install -m644 conf/sources.list $(DESTDIR)/etc/fai/apt/
43 lange 3840 install -m644 conf/NFSROOT $(DESTDIR)/etc/fai
44 lange 3699 install -m644 conf/fai_modules_off $(DESTDIR)/etc/modutils
45 lange 5387 install -m644 conf/menu.lst.boot-only $(DESTDIR)/usr/share/fai/menu.lst
46 lange 5660 install -m644 conf/upstart-fai.conf $(DESTDIR)/etc/init/fai.conf
47 lange 4517 install -m755 lib/fai-abort $(DESTDIR)/etc/init.d
48 lange 5886 cp -a pixmaps/*.gif $(DESTDIR)/usr/share/fai/pixmaps
49     cp -a pixmaps/small/*.gif $(DESTDIR)/usr/share/fai/pixmaps/small
50 lange 2932 perl -pi -e 's/FAIVERSIONSTRING/$(VERSIONSTRING)/' $(DESTDIR)/usr/sbin/fai
51 lange 1581 cp -a examples $(DOCDIR)
52 lange 1953 cp -a utils $(DOCDIR)/examples
53 lange 5608 find $(DOCDIR) -name .svn | xargs rm -rf
54 lange 2
55 lange 131 .PHONY: clean veryclean

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.5