Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5f0d9dbd16
Fetching contributors…

Cannot retrieve contributors at this time

file 36 lines (26 sloc) 0.75 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36

   sitedir := $(shell guile -q -c '(display (%site-dir))')
   instdir := $(sitedir)/tap

usage:
@echo "usage: make [test|clean|install]"
@echo install directory is: $(sitedir)

clean realclean:
rm -f *.txt *.tgz
rm -rf tap-writer-*

site:
-@echo guile site directory is: $(sitedir)
-@echo install directory is: $(instdir)

$(instdir):
install -d $(instdir)

install: $(instdir)
install -m 0644 -t $(instdir) src/tap/writer.scm

test: testout.txt t/correct-test-output.txt
diff testout.txt t/correct-test-output.txt

testout.txt:
guile -L src t/*.scm > testout.txt

   rel = tap-writer-0.01

dist:
rm -rf $(rel)
mkdir $(rel)
cp -a Changes Makefile README src t $(rel)
find $(rel) -name '.svn' | xargs rm -rf
tar czf $(rel).tgz $(rel)
Something went wrong with that request. Please try again.