Dash:
[t2.git] / package / network / ifstat / destdir.patch
blob18d367718b0e1c72bf21c9fe63a500964235aff0
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../ifstat/destdir.patch
5 # Copyright (C) 2007 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- ifstat-1.1/Makefile.in.orig 2006-12-14 09:33:32.000000000 +0100
18 +++ ifstat-1.1/Makefile.in 2006-12-14 09:31:35.000000000 +0100
19 @@ -65,18 +65,18 @@
20 install: install-$(TARGET) install-@LIBTARGET@
22 install-$(TARGET): $(TARGET)
23 - $(INSTALL) -d -m 755 $(bindir)
24 - $(INSTALL) -s -m 755 $(TARGET) $(bindir)/$(TARGET)
25 - $(INSTALL) -d -m 755 $(mandir)/man1
26 - $(INSTALL) -m 644 ifstat.1 $(mandir)/man1/ifstat.1
27 + $(INSTALL) -d -m 755 $(DESTDIR)$(bindir)
28 + $(INSTALL) -s -m 755 $(TARGET) $(DESTDIR)$(bindir)/$(TARGET)
29 + $(INSTALL) -d -m 755 $(DESTDIR)$(mandir)/man1
30 + $(INSTALL) -m 644 ifstat.1 $(DESTDIR)$(mandir)/man1/ifstat.1
32 install-$(LIBTARGET): $(LIBTARGET) libifstat-config
33 - $(INSTALL) -d -m 755 $(bindir)
34 - $(INSTALL) -m 755 libifstat-config $(bindir)/libifstat-config
35 - $(INSTALL) -d -m 755 $(includedir)
36 - $(INSTALL) -m 644 ifstat.h $(includedir)/ifstat.h
37 - $(INSTALL) -d -m 755 $(libdir)
38 - $(INSTALL) -m 644 $(LIBTARGET) $(libdir)/$(LIBTARGET)
39 + $(INSTALL) -d -m 755 $(DESTDIR)$(bindir)
40 + $(INSTALL) -m 755 libifstat-config $(DESTDIR)$(bindir)/libifstat-config
41 + $(INSTALL) -d -m 755 $(DESTDIR)$(includedir)
42 + $(INSTALL) -m 644 ifstat.h $(DESTDIR)$(includedir)/ifstat.h
43 + $(INSTALL) -d -m 755 $(DESTDIR)$(libdir)
44 + $(INSTALL) -m 644 $(LIBTARGET) $(DESTDIR)$(libdir)/$(LIBTARGET)
46 install-: # dependency when not building library