/[fai]/trunk/Makefile
ViewVC logotype

Diff of /trunk/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4582 by lange, Sat Sep 15 17:51:23 2007 UTC revision 4960 by lange, Thu Jun 12 12:33:53 2008 UTC
# Line 4  SHELL=/bin/bash Line 4  SHELL=/bin/bash
4  DESTDIR=$(shell pwd)/debian/tmp  DESTDIR=$(shell pwd)/debian/tmp
5  export DOCDIR = $(shell pwd)/debian/fai-doc/usr/share/doc/fai-doc  export DOCDIR = $(shell pwd)/debian/fai-doc/usr/share/doc/fai-doc
6  LIBDIR = $(DESTDIR)/usr/lib/fai  LIBDIR = $(DESTDIR)/usr/lib/fai
7  USRSBIN_SCRIPTS = make-fai-nfsroot make-fai-bootfloppy fai-setup fcopy ftar install_packages fai-chboot faimond fai-cd fai setup_harddisks faireboot fai-statoverride  SHAREDIR = $(DESTDIR)/usr/share/fai
8    USRSBIN_SCRIPTS = make-fai-nfsroot make-fai-bootfloppy fai-setup fcopy ftar install_packages fai-chboot faimond fai-cd fai setup_harddisks faireboot fai-statoverride setup-storage
9    
10  USRBIN_SCRIPTS = fai-class fai-do-scripts fai-mirror fai-debconf device2grub policy-rc.d.fai ainsl faimond-gui  USRBIN_SCRIPTS = fai-class fai-do-scripts fai-mirror fai-debconf device2grub policy-rc.d.fai ainsl faimond-gui
11    
12  libfiles=$(wildcard lib/[a-z]*)  # do not include .svn dir and S01  # do not include .svn dir and setup-storage subdir
13    libfiles=$(patsubst lib/setup-storage,,$(wildcard lib/[a-z]*))
14    
15  # files with variable KERNLEVERSION in it; this string will be substituted  # files with variable KERNLEVERSION in it; this string will be substituted
16  KVERSION_FILES =  $(DESTDIR)/etc/fai/make-fai-nfsroot.conf  KVERSION_FILES =  $(DESTDIR)/etc/fai/make-fai-nfsroot.conf
# Line 26  veryclean: clean Line 28  veryclean: clean
28  install:  install:
29          mkdir -p $(DESTDIR)/{sbin,man} $(DESTDIR)/etc/{modutils,dhcp3,apt/apt.conf.d}          mkdir -p $(DESTDIR)/{sbin,man} $(DESTDIR)/etc/{modutils,dhcp3,apt/apt.conf.d}
30          mkdir -p $(DESTDIR)/usr/{sbin,bin} $(DESTDIR)/usr/lib/fai $(DESTDIR)/etc/fai/apt          mkdir -p $(DESTDIR)/usr/{sbin,bin} $(DESTDIR)/usr/lib/fai $(DESTDIR)/etc/fai/apt
31          mkdir -p $(DESTDIR)/etc/init.d $(DESTDIR)/usr/share/fai/pixmaps          mkdir -p $(DESTDIR)/etc/init.d $(DESTDIR)/usr/share/fai/{pixmaps,setup-storage}
32          install man/* $(DESTDIR)/man          install man/* $(DESTDIR)/man
33          $(MAKE) -C doc install          $(MAKE) -C doc install
34          -install $(libfiles) $(LIBDIR)          -install $(libfiles) $(LIBDIR)
35            install lib/setup-storage/* $(SHAREDIR)/setup-storage
36          cd bin ; install $(USRSBIN_SCRIPTS) $(DESTDIR)/usr/sbin          cd bin ; install $(USRSBIN_SCRIPTS) $(DESTDIR)/usr/sbin
37          cd bin ; install $(USRBIN_SCRIPTS) $(DESTDIR)/usr/bin          cd bin ; install $(USRBIN_SCRIPTS) $(DESTDIR)/usr/bin
38          install bin/fai-start-stop-daemon $(DESTDIR)/sbin          install bin/fai-start-stop-daemon $(DESTDIR)/sbin

Legend:
Removed from v.4582  
changed lines
  Added in v.4960

  ViewVC Help
Powered by ViewVC 1.1.5