Ticket #39651: patch-Makefile.diff
File patch-Makefile.diff, 1.1 KB (added by macports@…, 11 years ago) |
---|
-
Makefile
old new 7 7 TEXTFILES = words.txt rhymes.txt multiple.txt 8 8 DBFILES = words.db rhymes.db multiple.db 9 9 10 RHYMEPATH = /usr/share/rhyme11 BINPATH = /usr/bin12 MANPATH = /usr/share/man/man110 RHYMEPATH = $(PREFIX)/share/rhyme 11 BINPATH = $(PREFIX)/bin 12 MANPATH = $(PREFIX)/share/man/man1 13 13 14 14 OBJECTS = rhyme.o setup.o alloc.o getopt1.o getopt.o 15 15 16 16 all: words.db rhymes.db multiple.db rhyme 17 17 18 18 install: all 19 install - -mode=755 rhyme$(BINPATH)20 install - -mode=755 -d$(RHYMEPATH)21 install - -mode=644 words.db$(RHYMEPATH)22 install - -mode=644 rhymes.db$(RHYMEPATH)23 install - -mode=644 multiple.db$(RHYMEPATH)24 install - -mode=644 rhyme.1$(MANPATH)19 install -m 755 rhyme $(DESTDIR)$(BINPATH) 20 install -m 755 -d $(DESTDIR)$(RHYMEPATH) 21 install -m 644 words.db $(DESTDIR)$(RHYMEPATH) 22 install -m 644 rhymes.db $(DESTDIR)$(RHYMEPATH) 23 install -m 644 multiple.db $(DESTDIR)$(RHYMEPATH) 24 install -m 644 rhyme.1 $(DESTDIR)$(MANPATH) 25 25 26 26 uninstall: 27 27 rm -f $(BINPATH)/rhyme