- patch fixing no DESTDIR in makefile
[packages/angst.git] / angst-DESTDIR.patch
1 diff -uNr angst-0.4b-orig/Makefile.linux angst-0.4b/Makefile.linux
2 --- angst-0.4b-orig/Makefile.linux      2001-02-08 14:44:12.000000000 +0100
3 +++ angst-0.4b/Makefile.linux   2004-08-10 13:15:04.495042704 +0200
4 @@ -6,9 +6,6 @@
5  # $Id$
6  
7  CC = gcc
8 -INSTALL_DIR = /usr/bin/install -c -o root -g bin
9 -INSTALL_SBIN = /usr/bin/install -c -s -o root -g bin -m 555
10 -INSTALL_MAN = /usr/bin/install -c -o root -g bin -m 444
11  CFLAGS = -O2 -Wall
12  INCLUDE = -I/usr/local/include
13  LIBS = -L/usr/local/lib `libnet-config --libs` -lpcap
14 @@ -27,12 +24,10 @@
15         rm -f angst *.o missing/*.o *.core core
16  
17  install:
18 -       $(INSTALL_DIR) -d /usr/local/sbin
19 -       rm -f /usr/local/sbin/angst
20 -       $(INSTALL_SBIN) -m 550 angst /usr/local/sbin
21 -       $(INSTALL_DIR) -d /usr/local/man/man8
22 -       rm -f /usr/local/man/man8/angst.8
23 -       $(INSTALL_MAN) angst.8 /usr/local/man/man8
24 +       install -d $(DESTDIR)/usr/sbin
25 +       install -m 550 angst $(DESTDIR)/usr/sbin
26 +       install -d $(DESTDIR)/usr/share/man/man8
27 +       install angst.8 $(DESTDIR)/usr/share/man/man8
28  
29  uninstall:
30         rm -f /usr/local/sbin/angst
This page took 0.050089 seconds and 3 git commands to generate.