More cleanup (was Re: MakeLib removed)
Matthias Urlichs
smurf at noris.de
Wed Sep 8 05:44:23 UTC 1999
Hi,
while we're cleaning up stuff, might it not be a good idea to use the
standard autoconf variables, where available?
Currently, we have --with-config-path instead of --sysconfdir and
--with-lib-dir intead of --libdir, and we use @prefix@/bin instead of
@bindir at . I fail to see any rationale for this, except to gratuitously
confuse the user of course. ;-)
NB, here's a small patch to weed a few unnecessary libraries.
Index: test.11/backends/Makefile
--- test.11/backends/Makefile Mon, 23 Aug 1999 04:28:58 +0200 smurf (net_news_inn/j/33_Makefile 1.3.1.4.1.1.1.1.1.3.1.1.1.1.1.3 664)
+++ test.11(w)/backends/Makefile Tue, 07 Sep 1999 12:35:25 +0200 smurf (net_news_inn/j/33_Makefile 1.3.1.4.1.1.1.1.1.3.1.1.1.1.1.3 664)
@@ -78,10 +78,10 @@
chmod +x $@
shlock: $(P) shlock.o $(LIBNEWS)
- $(LIBTOOL) $(CC) $(LDFLAGS) -o $@ shlock.o $(LIBNEWS) $(LIBS)
+ $(LIBTOOL) $(CC) $(LDFLAGS) -o $@ shlock.o
shrinkfile: $(P) shrinkfile.o $(LIBNEWS)
- $(LIBTOOL) $(CC) $(LDFLAGS) -o $@ shrinkfile.o $(LIBNEWS) $(LIBS)
+ $(LIBTOOL) $(CC) $(LDFLAGS) -o $@ shrinkfile.o $(LIBNEWS)
overchan: $(P) overchan.o $(LIBNEWS)
$(LIBTOOL) $(CC) $(LDFLAGS) -o $@ overchan.o $(LIBNEWS) $(LIBS)
--
Matthias Urlichs | noris network GmbH | smurf at noris.de | ICQ: 20193661
The quote was selected randomly. Really. | http://www.noris.de/~smurf/
--
Mistakes are often the stepping stones to utter failure.
More information about the inn-workers
mailing list