blob: 9c8521c920cf0872fbc60c0ed6260bf75d31d267 (
plain)
1 --- Makefile.old 2008-04-14 00:46:54.000000000 +0200
2 +++ Makefile 2008-04-14 00:47:16.000000000 +0200
3 @@ -2,7 +2,7 @@ CC= gcc
4 MAKE= make
5 INSTALL= install
6 LOCALEPATH= $(PREFIX)/share/locale
7 -MANPATH= $(PREFIX)/share/man
8 +MANPATH= $(PREFIX)/man
9
10 ### Compiler/linker flags ###
11 ### Generated via configure ###
12 @@ -46,14 +46,9 @@ manpages:
13 cat $(MAN)/snownews.1.in | sed s#PREFIX#$(PREFIX)# | \
14 sed s/VERSION/$(VERSION)/ > $(MAN)/snownews.1
15
16 - for L in $(LANGS); do \
17 - cat $(MAN)/$$L/snownews.1.$$L.in | sed s#PREFIX#$(PREFIX)# | \
18 - sed s/VERSION/$(VERSION)/ > $(MAN)/$$L/snownews.1; \
19 - done
20 -
21 ### Install ###
22
23 -install: install-bin install-locales install-man
24 +install: install-bin install-man
25 @echo ""
26
27 install-bin: snownews
28 @@ -82,13 +77,6 @@ install-man: manpages
29 $(INSTALL) -m 0644 $(MAN)/snownews.1 $(DESTDIR)$(MANPATH)/man1
30 $(INSTALL) -m 0644 $(MAN)/opml2snow.1 $(DESTDIR)$(MANPATH)/man1
31
32 - for L in $(LANGS); do \
33 - if [ ! -d "$(DESTDIR)$(MANPATH)/$$L/man1" ]; then \
34 - mkdir -p $(DESTDIR)$(MANPATH)/$$L/man1; \
35 - fi; \
36 - $(INSTALL) -m 0644 $(MAN)/$$L/snownews.1 $(DESTDIR)$(MANPATH)/$$L/man1; \
37 - done
38 -
39 ### Cleanup ###
40
41 clean: clean-bin clean-locales clean-man
|