source: trunk/Makefile.in @ 79

Last change on this file since 79 was 79, checked in by bas, 15 years ago

Added:

  • debian directory
  • configure autoconf tools
  • install.sh
File size: 892 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 1657 2006-12-06 13:32:47Z 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
19install: install-conf
20        $(INSTALL) -d $(DESTDIR)$(EXEC_PREFIX)
21        #$(INSTALL) -m 4111 -o root run_email2trac $(DESTDIR)$(EXEC_PREFIX)
22        for script in $(PYTHON_FILES) ; \
23        do \
24          #name=`basename $$script '.py'` ;\
25          $(INSTALL) -m 755 -o root $$script  $(DESTDIR)$(EXEC_PREFIX)/$$script ;\
26        done
27
28install-conf:
29        if [ ! -f  $(DESTDIR)/$(CONFIG)/pxeconfig.conf ] ; \
30        then \
31                $(INSTALL) -c -m 644 -o root pxeconfig.conf $(DESTDIR)/$(CONFIG)/pxeconfig.conf ;\
32        fi
33 
34clean: distclean
35        echo "Removing pxeconfig Makefile config.log config.status"
36
37distclean:
38        rm pxeconfig config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.