aboutsummaryrefslogtreecommitdiff
path: root/ltb2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ltb2/Makefile')
-rw-r--r--ltb2/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/ltb2/Makefile b/ltb2/Makefile
new file mode 100644
index 0000000..fe3c721
--- /dev/null
+++ b/ltb2/Makefile
@@ -0,0 +1,28 @@
+PROJECT=ltbug
+VERSION=2
+
+all:
+ @echo "usage: make check # to check the libtool issue"
+ @echo " or: make dist # to create a distributable archive"
+
+check:
+ @/bin/sh test.sh
+
+DISTDIR=$(PROJECT)-$(VERSION)
+
+distdir:
+ rm -rf $(DISTDIR) _build
+ mkdir $(DISTDIR)
+ cp test.sh Makefile $(DISTDIR)
+ for dir in ltb2dep ltb2; do \
+ rm -rf _build; \
+ mkdir _build && \
+ (cd _build && \
+ ../$$dir/configure && \
+ make distdir distdir=../$(DISTDIR)/$$dir); \
+ done
+ rm -rf _build
+
+dist: distdir
+ tar zvcf $(DISTDIR).tar.gz $(DISTDIR)
+ rm -rf $(DISTDIR)

Return to:

Send suggestions and report system problems to the System administrator.