346
|
1 |
#! /bin/sh /usr/share/dpatch/dpatch-run
|
|
2 |
## 03-makefile_objdictgen.dpatch by <lolitech@lolitech-desktop>
|
|
3 |
##
|
|
4 |
## All lines beginning with `## DP:' are a description of the patch.
|
|
5 |
## DP: No description.
|
|
6 |
|
|
7 |
@DPATCH@
|
|
8 |
diff -urNad CanFestival-3~/objdictgen/Makefile.in CanFestival-3/objdictgen/Makefile.in
|
|
9 |
--- CanFestival-3~/objdictgen/Makefile.in 2007-09-30 22:36:59.000000000 +0200
|
|
10 |
+++ CanFestival-3/objdictgen/Makefile.in 2007-11-21 14:54:03.000000000 +0100
|
|
11 |
@@ -35,17 +35,17 @@
|
|
12 |
rm -rf gnosis_extract
|
|
13 |
|
|
14 |
install: gnosis
|
|
15 |
- mkdir -p $(PREFIX)/objdictgen
|
|
16 |
- cp -r *.py* config doc doc_index examples gnosis $(PREFIX)/objdictgen
|
|
17 |
- chmod -R a+r $(PREFIX)/objdictgen
|
|
18 |
+ mkdir -p $(PREFIX)/share/objdictgen
|
|
19 |
+ cp -r *.py* config doc doc_index examples gnosis $(PREFIX)/share/objdictgen
|
|
20 |
+ chmod -R a+r $(PREFIX)/share/objdictgen
|
|
21 |
mkdir -p $(PREFIX)/bin
|
|
22 |
- ln -sf $(PREFIX)/objdictgen/objdictedit.py $(PREFIX)/bin/objdictedit
|
|
23 |
- chmod 755 $(PREFIX)/objdictgen/objdictedit.py
|
|
24 |
- ln -sf $(PREFIX)/objdictgen/objdictgen.py $(PREFIX)/bin/objdictgen
|
|
25 |
- chmod 755 $(PREFIX)/objdictgen/objdictgen.py
|
|
26 |
+ ln -sf $(PREFIX)/share/objdictgen/objdictedit.py $(PREFIX)/bin/objdictedit
|
|
27 |
+ chmod 755 $(PREFIX)/share/objdictgen/objdictedit.py
|
|
28 |
+ ln -sf $(PREFIX)/share/objdictgen/objdictgen.py $(PREFIX)/bin/objdictgen
|
|
29 |
+ chmod 755 $(PREFIX)/share/objdictgen/objdictgen.py
|
|
30 |
|
|
31 |
uninstall:
|
|
32 |
- rm -rf $(PREFIX)/objdictgen
|
|
33 |
+ rm -rf $(PREFIX)/share/objdictgen
|
|
34 |
rm -f $(PREFIX)/bin/objdictedit
|
|
35 |
rm -f $(PREFIX)/bin/objdictgen
|
|
36 |
|