/[fai]/trunk/Makefile
ViewVC logotype

Diff of /trunk/Makefile

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

revision 1005 by lange, Wed Jan 23 23:23:06 2002 UTC revision 1307 by lange, Fri Nov 22 14:51:23 2002 UTC
# Line 10  SBIN_SCRIPTS = make-fai-nfsroot make-fai Line 10  SBIN_SCRIPTS = make-fai-nfsroot make-fai
10  CONFFILES= apt.conf dhclient.conf fai_modules_off pxelinux.cfg  CONFFILES= apt.conf dhclient.conf fai_modules_off pxelinux.cfg
11    
12  # files with variable KERNLEVERSION in it; this string will be substituted  # files with variable KERNLEVERSION in it; this string will be substituted
13  KVERSION_FILES = $(SHAREDIR)/templates/class/DEFAULT.var $(DESTDIR)/etc/fai/fai.conf  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:  all:
16          $(MAKE) -C doc all          $(MAKE) -C doc all
# Line 23  veryclean: clean Line 23  veryclean: clean
23    
24  install:  install:
25          $(MAKE) -C doc install DOCDIR=$(DOCDIR)          $(MAKE) -C doc install DOCDIR=$(DOCDIR)
26            -install -m644 lib/* $(LIBDIR)
27          cd scripts ; install $(SBIN_SCRIPTS) $(DESTDIR)/usr/sbin          cd scripts ; install $(SBIN_SCRIPTS) $(DESTDIR)/usr/sbin
28          cd scripts ; install $(SCRIPTS) $(LIBDIR)/sbin          cd scripts ; install $(SCRIPTS) $(LIBDIR)/sbin
29          install -m644 lib/subroutines $(SHAREDIR)          install -m644 share/subroutines* $(SHAREDIR)
30  # potato          install -m644 share/Fai.pm $(DESTDIR)/usr/share/perl5/Debian
         install -m644 lib/Fai.pm $(DESTDIR)/usr/lib/perl5/Debian  
         install -m644 lib/Fai.pm $(DESTDIR)/usr/share/perl5/Debian  
31          cd conf ; install -m644 $(CONFFILES) $(SHAREDIR)/etc/          cd conf ; install -m644 $(CONFFILES) $(SHAREDIR)/etc/
32          install -m644 conf/fai.conf $(DESTDIR)/etc/fai/          install -m644 conf/fai.conf $(DESTDIR)/etc/fai/
33          cp -a examples $(DESTDIR)/$(DOCDIR)          cp -a examples $(DESTDIR)/$(DOCDIR)
34          cp -a utils templates $(SHAREDIR)          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)          perl -pi -e 's/_KERNELVERSION_/$(KERNELVERSION)/' $(KVERSION_FILES)
37          perl -pi -e 's/FAIVERSIONSTRING/$(VERSIONSTRING)/' $(LIBDIR)/sbin/rcS_fai          perl -pi -e 's/FAIVERSIONSTRING/$(VERSIONSTRING)/' $(LIBDIR)/sbin/rcS_fai
38          ln -fs installimage_3com $(DESTDIR)/boot/fai/bigfoot          ln -fs installimage_3com $(DESTDIR)/boot/fai/bigfoot

Legend:
Removed from v.1005  
changed lines
  Added in v.1307

  ViewVC Help
Powered by ViewVC 1.1.5