33 lines
967 B
Plaintext
33 lines
967 B
Plaintext
$OpenBSD: patch-Makefile,v 1.7 2004/10/13 03:58:42 jolan Exp $
|
|
--- Makefile.orig Wed Sep 29 11:28:31 2004
|
|
+++ Makefile Tue Oct 12 22:52:36 2004
|
|
@@ -1,4 +1,4 @@
|
|
-CC= gcc
|
|
+#CC= gcc
|
|
MAKE= make
|
|
INSTALL= install
|
|
LOCALEPATH= $(PREFIX)/share/locale
|
|
@@ -42,11 +42,11 @@ locales:
|
|
done
|
|
|
|
manpages:
|
|
- cat $(MAN)/snownews.1.in | sed s#PREFIX#$(PREFIX)# | \
|
|
+ cat $(MAN)/snownews.1.in | sed s#PREFIX#$(TRUEPREFIX)# | \
|
|
sed s/VERSION/$(VERSION)/ > $(MAN)/snownews.1
|
|
|
|
for L in $(LANGS); do \
|
|
- cat $(MAN)/$$L/snownews.1.$$L.in | sed s#PREFIX#$(PREFIX)# | \
|
|
+ cat $(MAN)/$$L/snownews.1.$$L.in | sed s#PREFIX#$(TRUEPREFIX)# | \
|
|
sed s/VERSION/$(VERSION)/ > $(MAN)/$$L/snownews.1; \
|
|
done
|
|
|
|
@@ -60,7 +60,7 @@ install-bin: snownews
|
|
if [ ! -d "$(PREFIX)/bin" ]; then \
|
|
mkdir -p $(PREFIX)/bin; \
|
|
fi
|
|
- $(INSTALL) -s snownews $(PREFIX)/bin
|
|
+ $(INSTALL) snownews $(PREFIX)/bin
|
|
$(INSTALL) opml2snow $(PREFIX)/bin
|
|
|
|
install-locales: locales
|