Added dist and distclean options

This commit is contained in:
Dane Johnson 2024-10-25 16:41:24 -05:00
parent d9081bcffb
commit ef8efcb3e0

View File

@ -1,4 +1,4 @@
.PHONY: all clean test install todo
.PHONY: all clean test install dist distclean
all: d-.go
clean:
@ -11,5 +11,9 @@ install: d-.scm d-.go
uninstall:
rm -f "$(INSTALL_PREFIX)/share/guile/site/3.0/d-.scm"
rm -f "$(INSTALL_PREFIX)/lib/guile/3.0/site-ccache/d-.go"
dist:
tar cvzf d-PRERELEASE.tar.gz configure Makefile.in test.scm d-.scm
distclean: clean
rm Makefile
%.go: %.scm
guild compile $^ -o $@