freebsd-ports/print/abc2mtex/files/patch-Makefile
Joerg Wunsch 61a90bd369 Changed my mind regarding the place where to install the docs: this
now all goes below ${PREFIX}/share/texmf/, so to conform with other
TeX ports.

Need to install header.tex, though i rather decided to rename that file
while installing.

Now it's ready to go. ;-)
2001-05-28 20:47:15 +00:00

20 lines
502 B
Text

--- Makefile.orig Wed Sep 25 15:25:40 1996
+++ Makefile Mon May 28 22:40:49 2001
@@ -1,14 +1,11 @@
# you may need to change these for your system
-CFLAGS = -g
-MAKE = make
-CC = cc
-RM = /bin/rm
+
+CFLAGS+= -DHEADER=\"${PREFIX}/share/texmf/tex/abc2mtex_header.tex\"
TEX = userguide music
ABC = English Jigs Reels Strspys
-install: abc2mtex sort_in search
- $(RM) -f *.o
+all: abc2mtex sort_in search
abc2mtex: fields.o abc.o tex.o index.o
$(CC) $(CFLAGS) -o $@ fields.o abc.o tex.o index.o