844
|
1 |
--- multitail-5.2.0/makefile.solaris_gcc.orig 2008-01-28 23:59:51.455889322 +0530
|
|
2 |
+++ multitail-5.2.0/makefile.solaris_gcc 2008-01-29 00:00:35.260524206 +0530
|
841
|
3 |
@@ -5,8 +5,8 @@
|
|
4 |
|
|
5 |
CC=gcc
|
|
6 |
DEBUG=#-g -D_DEBUG #-pg #-fprofile-arcs
|
|
7 |
-CFLAGS=-O2 -I/usr/local/include/ -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONFIG_FILE)\"
|
|
8 |
-LDFLAGS=-L/usr/local/lib/ -lsocket -lpanel -lncurses -lnsl -lm $(DEBUG)
|
|
9 |
+CFLAGS=${EXTRA_CFLAGS} -O2 -I/usr/local/include/ -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONFIG_FILE)\"
|
|
10 |
+LDFLAGS=${EXTRA_LDFLAGS} -L/usr/local/lib/ -lsocket -lpanel -lncurses -lnsl -lm $(DEBUG)
|
|
11 |
|
|
12 |
OBJS=utils.o mt.o error.o my_pty.o term.o scrollback.o help.o mem.o cv.o color.o stripstring.o selbox.o misc.o ui.o exec.o diff.o config.o cmdline.o globals.o history.o
|
|
13 |
|
844
|
14 |
@@ -16,17 +16,25 @@
|
841
|
15 |
$(CC) $(OBJS) $(LDFLAGS) -o multitail
|
|
16 |
|
|
17 |
install: multitail
|
|
18 |
+ /usr/sbin/install -m 0755 -u root -g sys -d $(DESTDIR)/usr
|
|
19 |
+ /usr/sbin/install -m 0755 -u root -g bin -d $(DESTDIR)/usr/bin
|
|
20 |
cp multitail $(DESTDIR)/usr/bin
|
|
21 |
- cp multitail.1 $(DESTDIR)/usr/man/man1/multitail.1
|
|
22 |
+
|
|
23 |
+ /usr/sbin/install -m 0755 -u root -g sys -d $(DESTDIR)/usr/share
|
|
24 |
+ /usr/sbin/install -m 0755 -u root -g bin -d $(DESTDIR)/usr/share/man
|
|
25 |
+ /usr/sbin/install -m 0755 -u root -g bin -d $(DESTDIR)/usr/share/man/man1
|
|
26 |
+ cp multitail.1 $(DESTDIR)/usr/share/man/man1/multitail.1
|
|
27 |
#
|
|
28 |
### COPIED multitail.conf.new, YOU NEED TO REPLACE THE multitail.conf
|
|
29 |
### YOURSELF WITH THE NEW FILE
|
|
30 |
#
|
|
31 |
+ /usr/sbin/install -m 0755 -u root -g sys -d $(DESTDIR)/etc
|
|
32 |
cp multitail.conf $(DESTDIR)/etc/multitail.conf.new
|
|
33 |
- mkdir -p $(DESTDIR)/usr/share/doc/multitail-$(VERSION)
|
|
34 |
+
|
|
35 |
+ /usr/sbin/install -m 0755 -u root -g other -d $(DESTDIR)/usr/share/doc
|
|
36 |
+ /usr/sbin/install -m 0755 -u root -g other -d $(DESTDIR)/usr/share/doc/multitail-$(VERSION)
|
|
37 |
+ #mkdir -p $(DESTDIR)/usr/share/doc/multitail-$(VERSION)
|
|
38 |
cp *.txt INSTALL manual.html $(DESTDIR)/usr/share/doc/multitail-$(VERSION)
|
|
39 |
- rm -f $(DESTDIR)/usr/man/man1/multitail.1.gz
|
|
40 |
- gzip -9 $(DESTDIR)/usr/man/man1/multitail.1
|
|
41 |
#
|
|
42 |
# +-=-------------------------------------------------------------=-+
|
|
43 |
# | There's a mailinglist! |
|
844
|
44 |
--- multitail-5.2.0/makefile.solaris_sunwspro.orig 2008-01-29 00:00:01.294540929 +0530
|
|
45 |
+++ multitail-5.2.0/makefile.solaris_sunwspro 2008-01-29 00:00:47.116815922 +0530
|
841
|
46 |
@@ -4,8 +4,8 @@
|
|
47 |
CONFIG_FILE=$(DESTDIR)/etc/multitail.conf
|
|
48 |
|
|
49 |
DEBUG=#-g -D_DEBUG #-pg #-fprofile-arcs
|
|
50 |
-CFLAGS=-O2 -I/usr/local/include/ -D_STDC_C99 -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONFIG_FILE)\"
|
|
51 |
-LDFLAGS=-L/usr/local/lib/ -lsocket -lpanel -lncurses -lnsl -lm $(DEBUG)
|
|
52 |
+CFLAGS=${EXTRA_CFLAGS} -O2 -I/usr/local/include/ -D_STDC_C99 -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONFIG_FILE)\"
|
|
53 |
+LDFLAGS=${EXTRA_LDFLAGS} -L/usr/local/lib/ -lsocket -lpanel -lncurses -lnsl -lm $(DEBUG)
|
|
54 |
|
|
55 |
OBJS=utils.o mt.o error.o my_pty.o term.o scrollback.o help.o mem.o cv.o color.o stripstring.o selbox.o misc.o ui.o exec.o diff.o config.o cmdline.o globals.o history.o
|
|
56 |
|
844
|
57 |
@@ -15,17 +15,25 @@
|
841
|
58 |
$(CC) $(OBJS) $(LDFLAGS) -o multitail
|
|
59 |
|
|
60 |
install: multitail
|
|
61 |
+ /usr/sbin/install -m 0755 -u root -g sys -d $(DESTDIR)/usr
|
|
62 |
+ /usr/sbin/install -m 0755 -u root -g bin -d $(DESTDIR)/usr/bin
|
|
63 |
cp multitail $(DESTDIR)/usr/bin
|
|
64 |
- cp multitail.1 $(DESTDIR)/usr/man/man1/multitail.1
|
|
65 |
+
|
|
66 |
+ /usr/sbin/install -m 0755 -u root -g sys -d $(DESTDIR)/usr/share
|
|
67 |
+ /usr/sbin/install -m 0755 -u root -g bin -d $(DESTDIR)/usr/share/man
|
|
68 |
+ /usr/sbin/install -m 0755 -u root -g bin -d $(DESTDIR)/usr/share/man/man1
|
|
69 |
+ cp multitail.1 $(DESTDIR)/usr/share/man/man1/multitail.1
|
|
70 |
#
|
|
71 |
### COPIED multitail.conf.new, YOU NEED TO REPLACE THE multitail.conf
|
|
72 |
### YOURSELF WITH THE NEW FILE
|
|
73 |
#
|
|
74 |
+ /usr/sbin/install -m 0755 -u root -g sys -d $(DESTDIR)/etc
|
|
75 |
cp multitail.conf $(DESTDIR)/etc/multitail.conf.new
|
|
76 |
+
|
|
77 |
+ /usr/sbin/install -m 0755 -u root -g other -d $(DESTDIR)/usr/share/doc
|
|
78 |
+ /usr/sbin/install -m 0755 -u root -g other -d $(DESTDIR)/usr/share/doc/multitail-$(VERSION)
|
|
79 |
mkdir -p $(DESTDIR)/usr/share/doc/multitail-$(VERSION)
|
|
80 |
cp *.txt INSTALL manual.html $(DESTDIR)/usr/share/doc/multitail-$(VERSION)
|
|
81 |
- rm -f $(DESTDIR)/usr/man/man1/multitail.1.gz
|
|
82 |
- gzip -9 $(DESTDIR)/usr/man/man1/multitail.1
|
|
83 |
#
|
|
84 |
# +-=-------------------------------------------------------------=-+
|
|
85 |
# | There's a mailinglist! |
|