summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-10-25 09:05:28 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-10-25 09:05:28 +0200
commit98fbbbd08de396cd8a0e45f2a4badf1c733a5772 (patch)
tree84a168fc3770f571202e72e70584de9c03c023b9 /Makefile
parent0e6e09d09f42fe88a7163b47d2e7dcd0d789f37f (diff)
Use Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..34ae7a6
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+VERSION = 0.0.1
+
+SOURCES = \
+ guile-studio-configure.scm \
+ logo.svg \
+ Makefile \
+ README.org
+
+build:
+ mkdir -p $(PREFIX)/bin && \
+ mkdir -p $(PREFIX)/share && \
+ guile -s guile-studio-configure.scm \
+ $(PREFIX) $(EMACS_DIR) $(GUILE_DIR) $(PICT_DIR) $(ICONS_DIR) $(INPUTS)
+
+dist:
+ mkdir -p guile-studio && cp $(SOURCES) guile-studio && \
+ tar -czf guile-studio-$(VERSION).tar.gz guile-studio