summaryrefslogtreecommitdiff
path: root/Build/source/texk/makejvf/Makefile.orig
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-04-13 11:34:01 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-04-13 11:34:01 +0000
commitd6feeaecc599235e45a89abbb43c3591dfd28374 (patch)
treef92c43965bcc2dc8fb61de93c52c21e6e781bddd /Build/source/texk/makejvf/Makefile.orig
parent519259df4e539f7fefa23b31922806046b4d2a31 (diff)
build system: fix 'make dist' and 'make distcheck'
git-svn-id: svn://tug.org/texlive/trunk@17838 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/makejvf/Makefile.orig')
-rw-r--r--Build/source/texk/makejvf/Makefile.orig30
1 files changed, 30 insertions, 0 deletions
diff --git a/Build/source/texk/makejvf/Makefile.orig b/Build/source/texk/makejvf/Makefile.orig
new file mode 100644
index 00000000000..f4b836129cf
--- /dev/null
+++ b/Build/source/texk/makejvf/Makefile.orig
@@ -0,0 +1,30 @@
+CC = gcc
+CCLD =$(CC)
+PROGRAM = makejvf
+
+# インストール先を DISTDIR に指定する
+DISTDIR = /usr/local/bin
+
+CFLAGS = -O
+PROGLINK = $(CC) $(OBJS) -o $(PROGRAM)
+
+OBJS = main.o tfmread.o tool.o write.o
+
+link_command = $(CCLD) -o $(PROGRAM) $(LDFLAGS)
+
+$(PROGRAM): $(OBJS) $(kpathsea)
+ $(PROGLINK)
+
+main.o:main.c
+tfmread.o:tfmread.c
+tool.o:tool.c
+write.o:write.c
+
+install: $(PROGRAM)
+ install -C -m 755 $? $(DISTDIR)
+
+clean:
+ rm -f *.o makejvf
+
+distclean:
+ rm -f *.o *.core *.tfm *.vf *.tex *.dvi *.ps $(PROGRAM)