From 78eef85a94fc13f294053594385b86d195e912ac Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Tue, 10 Jun 2025 17:51:22 +0100 Subject: [PATCH] dist-src target using git tag --- nx/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nx/Makefile b/nx/Makefile index 5b164f6a..433caf30 100644 --- a/nx/Makefile +++ b/nx/Makefile @@ -98,6 +98,9 @@ install: lib/libnx.a lib/libnxd.a @cp -rv include $(DESTDIR)$(DEVKITPRO)/libnx/ @cp -rv external/bsd/include $(DESTDIR)$(DEVKITPRO)/libnx/ +dist-src: + @tar -cjf libnx-`git describe --tags | sed 's/^v//'`.tar.bz2 include source data external Makefile default_icon.jpg switch_rules switch.ld switch.specs + #dox: # @doxygen Doxyfile # @doxygen Doxyfile.internal