Last change
on this file since 120 was
90,
checked in by bas, 16 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 | # |
---|
9 | prefix=@prefix@ |
---|
10 | exec_prefix=@exec_prefix@ |
---|
11 | SBIN_DIR=@sbindir@ |
---|
12 | BIN_DIR=@bindir@ |
---|
13 | DATA_DIR=@datadir@/doc/pxeconfig |
---|
14 | PYTHON_BIN=@PYTHON@ |
---|
15 | CONFIG=@sysconfdir@ |
---|
16 | |
---|
17 | |
---|
18 | INSTALL=./install-sh |
---|
19 | |
---|
20 | PYTHON_FILES=pxeconfig hexls |
---|
21 | EXAMPLES=default.flashqla default.harddisk default.memtest default.node_install pxeconfigd.xinetd |
---|
22 | |
---|
23 | all: compile |
---|
24 | |
---|
25 | compile: |
---|
26 | @echo "done compiling" |
---|
27 | |
---|
28 | install: 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 | |
---|
37 | install-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 | |
---|
43 | install-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 | |
---|
52 | clean: distclean |
---|
53 | echo "Removing pxeconfig pxeconfigd hexls Makefile config.log config.status" |
---|
54 | |
---|
55 | distclean: |
---|
56 | rm pxeconfig pxeconfigd hexls config.log config.status Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.