]> git.pld-linux.org Git - packages/OpenPTC-GGI.git/blob - OpenPTC-GGI-DESTDIR.patch
- tabs in preamble
[packages/OpenPTC-GGI.git] / OpenPTC-GGI-DESTDIR.patch
1 --- OpenPTC-GGI-0.5.0/Makefile.in.orig  Sat May  1 23:45:14 1999
2 +++ OpenPTC-GGI-0.5.0/Makefile.in       Sat Dec 21 10:29:42 2002
3 @@ -49,24 +49,23 @@
4  
5  install:
6         @echo "Installing under $(prefix)"
7 -       install -d $(prefix)/include/ptc/Core
8 -       install -d $(prefix)/include/ptc/GGI
9 -       install -d $(exec_prefix)/lib
10 -       install -d $(exec_prefix)/bin
11 -       install -m 0644 source/ptc.h $(prefix)/include/ptc
12 +       install -d $(DESTDIR)$(prefix)/include/ptc/Core
13 +       install -d $(DESTDIR)$(prefix)/include/ptc/GGI
14 +       install -d $(DESTDIR)$(exec_prefix)/lib
15 +       install -d $(DESTDIR)$(exec_prefix)/bin
16 +       install -m 0644 source/ptc.h $(DESTDIR)$(prefix)/include/ptc
17         for incfile in $(CORE_HEADER_FILES); do \
18 -         install -m 0644 source/Core/$$incfile $(prefix)/include/ptc/Core; \
19 +         install -m 0644 source/Core/$$incfile $(DESTDIR)$(prefix)/include/ptc/Core; \
20         done
21         for incfile in $(GGI_HEADER_FILES); do \
22 -         install -m 0644 source/GGI/$$incfile $(prefix)/include/ptc/GGI; \
23 +         install -m 0644 source/GGI/$$incfile $(DESTDIR)$(prefix)/include/ptc/GGI; \
24         done
25 -       install -m 0644 $(PTC_LIBRARY_PATH)/$(PTC_LIBRARY_NAME) $(exec_prefix)/lib
26 -       @cd $(exec_prefix)/lib ; ln -sf $(PTC_LIBRARY_NAME) libptc.a
27 -       install -m 0755 ptc-config $(exec_prefix)/bin
28 -       chmod 755 $(exec_prefix)/bin/ptc-config
29 +       install -m 0644 $(PTC_LIBRARY_PATH)/$(PTC_LIBRARY_NAME) $(DESTDIR)$(exec_prefix)/lib
30 +       install -m 0755 ptc-config $(DESTDIR)$(exec_prefix)/bin
31 +       chmod 755 $(DESTDIR)$(exec_prefix)/bin/ptc-config
32         if test -e library/$(PTC_LIBRARY_DYN); then \
33 -         install -m 0755 library/$(PTC_LIBRARY_DYN) $(exec_prefix)/lib; \
34 -         cd $(exec_prefix)/lib ; ln -sf $(PTC_LIBRARY_DYN) libptc.so ; \
35 +         install -m 0755 library/$(PTC_LIBRARY_DYN) $(DESTDIR)$(exec_prefix)/lib; \
36 +         cd $(DESTDIR)$(exec_prefix)/lib ; ln -sf $(PTC_LIBRARY_DYN) libptc.so ; \
37         fi
38  
39  
This page took 0.053317 seconds and 3 git commands to generate.