From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/udev-gentoo-scripts:master commit in: /
Date: Sun, 30 Oct 2011 23:57:12 +0000 (UTC) [thread overview]
Message-ID: <67f11ceb548f69b005bcf0576adcf1badbc7e511.WilliamH@gentoo> (raw)
commit: 67f11ceb548f69b005bcf0576adcf1badbc7e511
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 30 23:46:04 2011 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Oct 30 23:46:04 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/udev-gentoo-scripts.git;a=commit;h=67f11ceb
Update makefile dist target and add snapshot target
The snapshot target makes a tarball named udev-gentoo-scripts.tar.bz2
which consists of whatever is at the current head of the master branch.
The dist target makes a tarball based on the tag set in the VERSION
makefile variable. This makes it possible to recreate a tarball of any
released version of the scripts by doing make VERSION=whatever dist.
---
Makefile | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index 3fbfda4..dfe1862 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,7 @@
+PACKAGE = udev-gentoo-scripts
+VERSION = v4
+DISTNAME = $(PACKAGE)-$(VERSION)
+
LIBUDEV ?= /lib/udev
RULESDIR ?= $(LIBUDEV)/rules.d
SYSCONFDIR ?= /etc
@@ -5,10 +9,6 @@ CONFD ?= $(SYSCONFDIR)/conf.d
INITD ?= $(SYSCONFDIR)/init.d
MODPROBE_DIR ?= $(SYSCONFDIR)/modprobe.d
-VERSION = $(shell git describe --tags)
-
-DESTNAME = udev-gentoo-scripts-$(VERSION)
-
HELPERS = \
helpers/net.sh \
helpers/write_root_link_rule
@@ -35,8 +35,13 @@ check-git-repository:
check test:
@cd test; ./run_test.sh
-dist: check-git-repository test
- git archive --format=tar --prefix=$(DESTNAME)/ HEAD | bzip2 > $(DESTNAME).tar.bz2
+dist:
+ git archive --format=tar --prefix=$(DISTNAME)/ $(VERSION) | \
+ bzip2 > $(DISTNAME).tar.bz2
+
+snapshot: check-git-repository
+ git archive --format=tar --prefix=$(PACKAGE)/ HEAD | \
+ bzip2 > $(PACKAGE).tar.bz2
.PHONY: install test
next reply other threads:[~2011-10-30 23:57 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-30 23:57 William Hubbs [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-08-29 18:43 [gentoo-commits] proj/udev-gentoo-scripts:master commit in: / William Hubbs
2020-08-05 17:09 William Hubbs
2019-02-20 17:13 William Hubbs
2016-11-09 20:33 William Hubbs
2015-06-17 21:42 William Hubbs
2015-06-14 15:43 William Hubbs
2015-06-10 21:18 William Hubbs
2015-05-02 21:44 William Hubbs
2014-11-03 20:38 William Hubbs
2014-08-29 9:02 Samuli Suominen
2014-03-05 20:36 Samuli Suominen
2013-12-31 5:28 William Hubbs
2013-04-03 15:08 William Hubbs
2013-03-19 5:48 William Hubbs
2013-02-28 0:48 William Hubbs
2013-02-04 21:43 William Hubbs
2013-01-27 18:56 William Hubbs
2013-01-21 19:29 William Hubbs
2013-01-21 16:45 William Hubbs
2013-01-09 5:28 William Hubbs
2013-01-09 0:53 William Hubbs
2012-11-24 4:44 William Hubbs
2012-10-19 17:15 William Hubbs
2012-08-08 21:52 William Hubbs
2012-08-07 17:39 William Hubbs
2012-08-07 17:29 William Hubbs
2012-08-01 16:28 William Hubbs
2012-07-31 18:19 William Hubbs
2012-07-29 22:21 William Hubbs
2012-07-04 18:19 William Hubbs
2012-05-03 18:24 William Hubbs
2012-03-19 20:40 William Hubbs
2012-03-19 14:29 William Hubbs
2012-01-12 17:02 William Hubbs
2012-01-12 17:01 William Hubbs
2011-12-22 21:50 William Hubbs
2011-12-09 15:56 William Hubbs
2011-11-02 18:15 William Hubbs
2011-09-09 17:07 William Hubbs
2011-09-09 17:04 William Hubbs
2011-09-06 16:27 William Hubbs
2011-07-15 10:21 Matthias Schwarzott
2011-07-12 16:05 William Hubbs
2011-07-08 15:34 William Hubbs
2011-06-30 19:56 Matthias Schwarzott
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=67f11ceb548f69b005bcf0576adcf1badbc7e511.WilliamH@gentoo \
--to=williamh@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox