mirror of
https://github.com/troglobit/libite.git
synced 2026-11-18 19:30:45 +00:00
Add support for 'make distdir' used by GNU configure and build.
This patch adds support for being called with "make distdir" from a GNU configure and build based project. This was a requirement to get the Inadyn v1.99.14 release out. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
83f83466b5
commit
61b1b5b457
1 file changed
+4
@@ -136,6 +136,10 @@ clean:
|
|||||||
distclean:
|
distclean:
|
||||||
-$(Q)$(RM) $(JUNK) unittest *.o *.a *.so* *.unittest
|
-$(Q)$(RM) $(JUNK) unittest *.o *.a *.so* *.unittest
|
||||||
|
|
||||||
|
# When called from GNU configure and build system
|
||||||
|
distdir:
|
||||||
|
@git archive --format=tar HEAD | (cd $(distdir); tar xf -)
|
||||||
|
|
||||||
dist:
|
dist:
|
||||||
$(Q)echo "Building .xz tarball of $(PKG) in parent dir..."
|
$(Q)echo "Building .xz tarball of $(PKG) in parent dir..."
|
||||||
git archive --format=tar --prefix=$(PKG)/ v$(VERSION) | xz >../$(ARCHIVE)
|
git archive --format=tar --prefix=$(PKG)/ v$(VERSION) | xz >../$(ARCHIVE)
|
||||||
|
|||||||
Reference in new issue
Block a user