1 --- ./awka/Makefile.in.orig Thu Jun 14 15:35:31 2001
2 +++ ./awka/Makefile.in Thu Jun 14 15:38:47 2001
11 exec_prefix = @exec_prefix@
15 -INCDIR = @includedir@
16 -# where to put the man pages
21 +includedir = @includedir@
22 #######################################
24 MAKEFILEIN = Makefile.in
26 cd ..; /bin/sh ./config.status
29 - $(CC) $(CFLAGS) $(OBJS) -o awka
30 + $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o awka
33 @echo expect 6 shift/reduce conflicts
35 else mv y.tab.h parse.h ; fi
38 - cp awka$(EXE) $(BINDIR)
39 - chmod a+rx $(BINDIR)/awka$(EXE)
40 + cp awka$(EXE) $(DESTDIR)$(bindir)
41 + chmod a+rx $(DESTDIR)$(bindir)/awka$(EXE)
44 rm -f *.o core awka awka$(EXE)
45 --- ./lib/Makefile.in.orig Thu Jun 14 15:42:03 2001
46 +++ ./lib/Makefile.in Thu Jun 14 15:44:48 2001
49 exec_prefix = @exec_prefix@
53 -INCDIR = @includedir@
56 +includedir = @includedir@
57 # where to put the man pages
60 SHAREDLIB = @SHARED_LIB@
62 BUILDLIB = libawka.a $(SHAREDLIB)
64 $(AWK) -f ../examples/fixhdr.awk libawka.h.in >libawka.h
66 install : libawka.a $(SHAREDLIB)
67 - cp libawka.a $(LIBDIR)
68 - if [ -f libawka.so ]; then cp libawka.so $(LIBDIR); fi
69 - cp libawka.h $(INCDIR)
70 - chmod a+r $(LIBDIR)/libawka.*
71 - chmod a+r $(INCDIR)/libawka.h
72 + cp libawka.a $(DESTDIR)$(libdir)
73 + if [ -f libawka.so ]; then cp libawka.so $(DESTDIR)$(libdir); fi
74 + cp libawka.h $(DESTDIR)$(includedir)
75 + chmod a+r $(DESTDIR)$(libdir)/libawka.*
76 + chmod a+r $(DESTDIR)$(includedir)/libawka.h
79 rm -f *.o ../regexp/*.o ../regexp/.done core libawka.a libawka.so libawka.h
80 --- ./dfa/Makefile.in.orig Thu Jun 14 15:39:53 2001
81 +++ ./dfa/Makefile.in Thu Jun 14 15:41:51 2001
84 exec_prefix = @exec_prefix@
88 -INCDIR = @includedir@
91 +includedir = @includedir@
92 # where to put the man pages
95 BUILDLIB = libdfa.@BUILDLIB@
96 #######################################
99 $(CC) -shared $(CFLAGS) $(LOBJS) -o libdfa.so
102 - cp libdfa.a $(LIBDIR)
103 - if [ -f libdfa.so ]; then cp libdfa.so $(LIBDIR); fi
105 - chmod a+r $(LIBDIR)/libdfa.*
106 - chmod a+r $(INCDIR)/dfa.h
107 + cp libdfa.a $(DESTDIR)$(libdir)
108 + if [ -f libdfa.so ]; then cp libdfa.so $(DESTDIR)$(libdir); fi
109 + cp dfa.h $(DESTDIR)$(includedir)
110 + chmod a+r $(DESTDIR)$(libdir)/libdfa.*
111 + chmod a+r $(DESTDIR)$(includedir)/dfa.h
114 rm -f *.o core libdfa.a libdfa.so
115 --- ./Makefile.in.orig Thu Jun 14 15:25:17 2001
116 +++ ./Makefile.in Thu Jun 14 15:35:12 2001
119 exec_prefix = @exec_prefix@
123 -INCDIR = @includedir@
126 +includedir = @includedir@
127 # where to put the man pages
129 -MANSRCDIR = @mandir@
130 -MANDIR = $(MANSRCDIR)/man$(MANEXT)
132 SHARED_LIB = @SHARED_LIB@
133 BUILDLIB = libawka.a $(SHARED_LIB)
134 #######################################
139 -AWKAMAN = $(MANDIR)/awka.$(MANEXT)
140 install: awka_exe libawka
141 - if [ ! -d $(LIBDIR) ]; then mkdir -p $(LIBDIR); fi
142 - if [ ! -d $(INCDIR) ]; then mkdir -p $(INCDIR); fi
143 - if [ ! -d $(BINDIR) ]; then mkdir -p $(BINDIR); fi
144 - if [ ! -d $(MANDIR) ]; then mkdir -p $(MANDIR); fi
145 - if [ ! -d $(MANSRCDIR)/man5 ]; then mkdir -p $(MANSRCDIR)/man5; fi
146 + mkdir -p $(DESTDIR)$(libdir)
147 + mkdir -p $(DESTDIR)$(includedir)
148 + mkdir -p $(DESTDIR)$(bindir)
149 + mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5
150 cd awka; $(MAKE) install
151 cd lib; $(MAKE) install
152 cd dfa; $(MAKE) install
153 - cp doc/awka.1 $(AWKAMAN)
154 - cp doc/awka-elm.5 $(MANSRCDIR)/man5
155 - cp doc/awka-elmref.5 $(MANSRCDIR)/man5
156 - chmod 0644 $(AWKAMAN)
157 + cp doc/awka.1 $(DESTDIR)$(mandir)/man1
158 + cp doc/awka-elm.5 $(DESTDIR)$(mandir)/man5
159 + cp doc/awka-elmref.5 $(DESTDIR)$(mandir)/man5
162 cd awka; $(MAKE) clean