aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-02 15:12:42 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-02 15:12:42 +0100
commitade4c410c7f5f0d23ab8cdaeec7cf73c8d67982c (patch)
treebf7e1c207545a45d40e5480f01bde9a4cb165778 /Makefile
parenteverything works, although a bit slow (diff)
downloadsplashtool-ade4c410c7f5f0d23ab8cdaeec7cf73c8d67982c.tar.gz
splashtool-ade4c410c7f5f0d23ab8cdaeec7cf73c8d67982c.tar.bz2
splashtool-ade4c410c7f5f0d23ab8cdaeec7cf73c8d67982c.tar.xz
update makefile
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 3e070a4..35ee7d3 100644
--- a/Makefile
+++ b/Makefile
@@ -30,10 +30,7 @@ default: command info
all: command doc
.PHONY: command
-command: bin/Assemble.class
-bin/Assemble.class: src/Assemble.java
- mkdir -p bin
- javac -cp src -s src -d bin -encoding UTF-8 src/Assemble.java
+command:
.PHONY: doc
doc: info pdf ps dvi
@@ -75,11 +72,10 @@ install-all: install-base install-doc
install-base: install-command install-license
.PHONY: install-command
-install-command: bin/Assemble.class
+install-command:
install -dm755 "$(DESTDIR)$(BINDIR)"
install -dm755 "$(DESTDIR)$(LIBEXECDIR)"
- install -m644 bin/Assemble.class "$(DESTDIR)$(LIBEXECDIR)"/Assemble.class
- install -m755 src/parse.py "$(DESTDIR)$(LIBEXECDIR)"/parse.py
+ install -m755 src/assemble "$(DESTDIR)$(LIBEXECDIR)"/assemble
install -m755 src/splashtool "$(DESTDIR)$(LIBEXECDIR)"/splashtool
ln -sf "$(LIBEXECDIR)"/splashtool "$(DESTDIR)$(BINDIR)"/splashtool
@@ -114,8 +110,7 @@ install-dvi: splashtool.dvi
uninstall:
-rm -- "$(DESTDIR)$(BINDIR)"/splashtool
- -rm -- "$(DESTDIR)$(LIBEXECDIR)"/Assemble.class
- -rm -- "$(DESTDIR)$(LIBEXECDIR)"/parse.py
+ -rm -- "$(DESTDIR)$(LIBEXECDIR)"/assemble
-rm -- "$(DESTDIR)$(LIBEXECDIR)"/splashtool
-rmdir -- "$(DESTDIR)$(LIBEXECDIR)"
-rm -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)/COPYING"