perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
[packages/GXedit.git] / GXedit-makefile.patch
CommitLineData
0ad75e23 1diff -urN GXedit1.23/Makefile GXedit1.23.new/Makefile
2--- GXedit1.23/Makefile Fri Mar 19 07:01:49 1999
3+++ GXedit1.23.new/Makefile Tue Apr 27 19:14:16 1999
4@@ -1,9 +1,10 @@
5 BIN_DIR =
6 INSTALL = /usr/bin/install
7-INSTALL_DIR = /usr/X11R6/bin/
8+#INSTALL_DIR = /usr/X11R6/bin/
9 DOCS = /usr/doc
10-SHARE = /usr/share
11-CFLAGS = `gtk-config --cflags` -I/usr/local/include -I. -O -Wall -DVERSION=\"1.23\"
12+#SHARE = /usr/share
13+OPTFLAGS = -O -Wall
14+CFLAGS = $(OPTFLAGS) `gtk-config --cflags` -I/usr/local/include -I. -DVERSION=\"1.23\"
15 GTKEDITOR_CFLAGS = -I../gtkeditor-0.0.6 -I../gtkeditor-0.0.6/gtkeditor
16 LIBS = `gtk-config --libs`
17 OBJS = gxedit.o net.o utils.o
18@@ -47,26 +48,26 @@
19 (cd xproc-src; make clean; cd ..)
20
21 install:
22- $(INSTALL) -m 0755 $(BIN_DIR)gxedit $(INSTALL_DIR)gxedit
23- $(INSTALL) -m 0755 $(BIN_DIR)xproc $(INSTALL_DIR)xproc
24- $(INSTALL) -m 0755 $(BIN_DIR)gtk-shell $(INSTALL_DIR)gtk-shell
25- $(INSTALL) -m 0755 ftp.sh $(INSTALL_DIR)ftp.sh
26- $(INSTALL) -m 0755 ftp-ls.sh $(INSTALL_DIR)ftp-ls.sh
27- $(INSTALL) -m 0755 ftp-put.sh $(INSTALL_DIR)ftp-put.sh
28+ $(INSTALL) -s $(BIN_DIR)gxedit $(INSTALL_DIR)gxedit
29+ $(INSTALL) -s $(BIN_DIR)xproc $(INSTALL_DIR)xproc
30+ $(INSTALL) -s $(BIN_DIR)gtk-shell $(INSTALL_DIR)gtk-shell
31+ $(INSTALL) ftp.sh $(INSTALL_DIR)ftp.sh
32+ $(INSTALL) ftp-ls.sh $(INSTALL_DIR)ftp-ls.sh
33+ $(INSTALL) ftp-put.sh $(INSTALL_DIR)ftp-put.sh
34 $(INSTALL) -d $(SHARE)/GXedit
35- $(INSTALL) -m 0644 userinfo.scr $(SHARE)/GXedit/userinfo.scr
36- $(INSTALL) -m 0644 popmail.scr $(SHARE)/GXedit/popmail.scr
37- $(INSTALL) -m 0644 traceroute.scr $(SHARE)/GXedit/traceroute.scr
38- $(INSTALL) -m 0644 www.scr $(SHARE)/GXedit/www.scr
39- $(INSTALL) -m 0644 docs/charmap.txt $(SHARE)/GXedit/charmap.txt
40- $(INSTALL) -d $(DOCS)/GXedit
41- $(INSTALL) -m 0644 docs/manual.txt $(DOCS)/GXedit/manual.txt
42- $(INSTALL) -m 0644 docs/manual.ps $(DOCS)/GXedit/manual.ps
43- $(INSTALL) -m 0644 docs/quickref.ps $(DOCS)/GXedit/quickref.ps
44- $(INSTALL) -m 0644 docs/quickref.txt $(DOCS)/GXedit/quickref.txt
45- $(INSTALL) -m 0644 docs/COPYING $(DOCS)/GXedit/COPYING
46- $(INSTALL) -m 0644 README $(DOCS)/GXedit/README
47- $(INSTALL) -m 0644 CHANGELOG $(DOCS)/GXedit/CHANGELOG
48+ $(INSTALL) userinfo.scr $(SHARE)/GXedit/userinfo.scr
49+ $(INSTALL) popmail.scr $(SHARE)/GXedit/popmail.scr
50+ $(INSTALL) traceroute.scr $(SHARE)/GXedit/traceroute.scr
51+ $(INSTALL) www.scr $(SHARE)/GXedit/www.scr
52+ $(INSTALL) docs/charmap.txt $(SHARE)/GXedit/charmap.txt
53+# $(INSTALL) -d $(DOCS)/GXedit
54+# $(INSTALL) -m 0644 docs/manual.txt $(DOCS)/GXedit/manual.txt
55+# $(INSTALL) -m 0644 docs/manual.ps $(DOCS)/GXedit/manual.ps
56+# $(INSTALL) -m 0644 docs/quickref.ps $(DOCS)/GXedit/quickref.ps
57+# $(INSTALL) -m 0644 docs/quickref.txt $(DOCS)/GXedit/quickref.txt
58+# $(INSTALL) -m 0644 docs/COPYING $(DOCS)/GXedit/COPYING
59+# $(INSTALL) -m 0644 README $(DOCS)/GXedit/README
60+# $(INSTALL) -m 0644 CHANGELOG $(DOCS)/GXedit/CHANGELOG
61
62 distro:
63 rm -f *.o $(BIN_DIR)gxedit $(BIN_DIR)say $(BIN_DIR)xproc *.log *.enc core
64diff -urN GXedit1.23/access/Makefile GXedit1.23.new/access/Makefile
65--- GXedit1.23/access/Makefile Tue Feb 23 07:02:43 1999
66+++ GXedit1.23.new/access/Makefile Tue Apr 27 19:22:20 1999
67@@ -1,6 +1,7 @@
68 BIN_DIR =
69 CC = gcc
70-CFLAGS = -g -O -I. -I/usr/include
71+OPTFLAGS = -O -g
72+CFLAGS = $(OPTFLAGS) -I. -I/usr/include
73 OBJS = say.o saynum.o darray.o ASCII.o phones.o text.o english.o trie.o phtoelm.o holmes.o elements.o nsynth.o def_pars.o l2u.o aufile.o getarg.o Revision.o hplay.o dict.o
74
75 all:
76diff -urN GXedit1.23/gtk-shell-src/Makefile GXedit1.23.new/gtk-shell-src/Makefile
77--- GXedit1.23/gtk-shell-src/Makefile Fri Mar 19 07:08:47 1999
78+++ GXedit1.23.new/gtk-shell-src/Makefile Tue Apr 27 19:23:26 1999
79@@ -1,5 +1,6 @@
80 BIN_DIR =
81-CFLAGS = `gtk-config --cflags` -O -I. -Wall
82+OPTFLAGS = -O -Wall
83+CFLAGS = `gtk-config --cflags` -I. $(OPTFLAGS)
84 LIBS = `gtk-config --libs`
85 CC = gcc
86
87diff -urN GXedit1.23/xproc-src/Makefile GXedit1.23.new/xproc-src/Makefile
88--- GXedit1.23/xproc-src/Makefile Fri Mar 19 07:09:10 1999
89+++ GXedit1.23.new/xproc-src/Makefile Tue Apr 27 19:24:23 1999
90@@ -1,5 +1,6 @@
91 BIN_DIR =
92-CFLAGS = `gtk-config --cflags` -I. -O -Wall
93+OPTFLAGS = -O -Wall
94+CFLAGS = `gtk-config --cflags` -I. $(OPTFLAGS)
95 LIBS = `gtk-config --libs`
96
97 all:
This page took 0.071304 seconds and 4 git commands to generate.