source: trunk/Makefile.in @ 82

Last change on this file since 82 was 82, checked in by bas, 17 years ago

Makefile.in:

  • Added pxeconfigd hexls to clean
  • Property svn:keywords set to Id URL
File size: 912 bytes
Line 
1# Authors: Bas van der Vlies
2# Date   : 28 Mar 2007
3# Desc.  : Simple Makefile
4#
5# SVN INFO:
6#      $Id: Makefile.in 82 2007-03-28 19:30:10Z bas $
7#
8#
9prefix=@prefix@
10EXEC_PREFIX=@exec_prefix@/bin
11PYTHON_BIN=@PYTHON@
12CONFIG=@sysconfdir@
13
14
15INSTALL=./install-sh
16
17PYTHON_FILES=pxeconfig
18
19all: compile
20
21compile:
22        echo "done compiling"
23
24install: install-conf
25        $(INSTALL) -d $(DESTDIR)$(EXEC_PREFIX)
26        #$(INSTALL) -m 4111 -o root run_email2trac $(DESTDIR)$(EXEC_PREFIX)
27        for script in $(PYTHON_FILES) ; \
28        do \
29          #name=`basename $$script '.py'` ;\
30          $(INSTALL) -m 755 -o root $$script  $(DESTDIR)$(EXEC_PREFIX)/$$script ;\
31        done
32
33install-conf:
34        if [ ! -f  $(DESTDIR)/$(CONFIG)/pxeconfig.conf ] ; \
35        then \
36                $(INSTALL) -c -m 644 -o root pxeconfig.conf $(DESTDIR)/$(CONFIG)/pxeconfig.conf ;\
37        fi
38 
39clean: distclean
40        echo "Removing pxeconfig pxeconfigd hexls Makefile config.log config.status"
41
42distclean:
43        rm pxeconfig config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.