source: trunk/Makefile.in @ 90

Last change on this file since 90 was 90, checked in by bas, 14 years ago

Makefile.in:

  • Added hexls and pxeconfigd to clean section
  • Property svn:keywords set to Id URL
File size: 1.3 KB
Line 
1# Authors: Bas van der Vlies
2# Date   : 28 Mar 2007
3# Desc.  : Simple Makefile
4#
5# SVN INFO:
6#      $Id: Makefile.in 90 2007-03-29 08:15:24Z bas $
7#
8#
9prefix=@prefix@
10exec_prefix=@exec_prefix@
11SBIN_DIR=@sbindir@
12BIN_DIR=@bindir@
13DATA_DIR=@datadir@/doc/pxeconfig
14PYTHON_BIN=@PYTHON@
15CONFIG=@sysconfdir@
16
17
18INSTALL=./install-sh
19
20PYTHON_FILES=pxeconfig hexls
21EXAMPLES=default.flashqla  default.harddisk  default.memtest  default.node_install pxeconfigd.xinetd
22
23all: compile
24
25compile:
26        @echo "done compiling"
27
28install: install-conf install-examples
29        $(INSTALL) -d $(DESTDIR)$(SBIN_DIR)
30        $(INSTALL) -d $(DESTDIR)$(BIN_DIR)
31        $(INSTALL) -m 755 -o root pxeconfigd $(DESTDIR)$(SBIN_DIR)
32        for script in $(PYTHON_FILES) ; \
33        do \
34          $(INSTALL) -m 755 -o root $$script  $(DESTDIR)$(BIN_DIR)/$$script ;\
35        done
36
37install-conf:
38        if [ ! -f  $(DESTDIR)/$(CONFIG)/pxeconfig.conf ] ; \
39        then \
40                $(INSTALL) -c -m 644 -o root pxeconfig.conf $(DESTDIR)/$(CONFIG)/pxeconfig.conf ;\
41        fi
42
43install-examples:
44        $(INSTALL) -d $(DESTDIR)$(DATA_DIR)/examples
45        for file in $(EXAMPLES) ; \
46        do \
47          $(INSTALL) -c -m 644 -o root examples/$$file  $(DESTDIR)$(DATA_DIR)/examples/$$file ;\
48        done
49
50       
51 
52clean: distclean
53        echo "Removing pxeconfig pxeconfigd hexls Makefile config.log config.status"
54
55distclean:
56        rm pxeconfig pxeconfigd hexls config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.