aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2021-01-22 11:32:32 +0200
committerThomas Backlund <tmb@mageia.org>2021-01-22 11:32:32 +0200
commita057b24428d3b621cdceb8d1130c8d947571e124 (patch)
treea71bfebe7b02e4bab76b593cf39bca5deb0cac2a /Makefile
parenta721bc39a62d52a43f3a1cf8e5202b4cd606ff11 (diff)
downloadmonitor-edid-a057b24428d3b621cdceb8d1130c8d947571e124.tar
monitor-edid-a057b24428d3b621cdceb8d1130c8d947571e124.tar.gz
monitor-edid-a057b24428d3b621cdceb8d1130c8d947571e124.tar.bz2
monitor-edid-a057b24428d3b621cdceb8d1130c8d947571e124.tar.xz
monitor-edid-a057b24428d3b621cdceb8d1130c8d947571e124.zip
sync in missing bits from v3.3 releasev3.3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 8 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 2923441..4b4512a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
NAME = monitor-edid
-VERSION = 3.2
+VERSION = 3.3
FILES = $(shell ls | grep -v CVS | grep -vF .tar)
SVNPATH = svn+ssh://svn.mageia.org/svn/soft/monitor-edid
@@ -48,20 +48,16 @@ endif
clean:
$(RM) $(TARGETS) *.a *.o *~
- rm -rf $(NAME)-$(VERSION) $(NAME)-$(VERSION).tar.bz2
+ rm -rf $(NAME)-$(VERSION) $(NAME)-$(VERSION).tar.xz
%.o: %.c
$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
-dis:
- rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*
- svn export -q -rBASE . $(NAME)-$(VERSION)
- find $(NAME)-$(VERSION) -name .cvsignore |xargs rm -rf
- tar cf ../$(NAME)-$(VERSION).tar $(NAME)-$(VERSION)
- bzip2 -9f ../$(NAME)-$(VERSION).tar
- rm -rf $(NAME)-$(VERSION)
+dist: dis
+dis: clean
+ @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz > $(NAME)-$(VERSION).tar.xz;
+ $(info $(NAME)-$(VERSION).tar.xz is ready)
-
-svntag:
- svn cp -m 'version $(VERSION)' $(SVNPATH)/trunk $(SVNPATH)/tags/v$(VERSION)
+tag:
+ git tag $(VERSION)