[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gsrc-commit] /srv/bzr/gsrc/trunk r2028: add Recutils-friendly package l
From: |
Brandon Invergo |
Subject: |
[Gsrc-commit] /srv/bzr/gsrc/trunk r2028: add Recutils-friendly package listing pkg-rec |
Date: |
Fri, 22 Mar 2013 00:28:37 +0100 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 2028
committer: Brandon Invergo <address@hidden>
branch nick: trunk
timestamp: Fri 2013-03-22 00:28:37 +0100
message:
add Recutils-friendly package listing pkg-rec
modified:
gar.mk
=== modified file 'gar.mk'
--- a/gar.mk 2013-01-29 09:54:55 +0000
+++ b/gar.mk 2013-03-21 23:28:37 +0000
@@ -3,7 +3,7 @@
# Copyright (C) 2001 Nick Moffitt
# Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Adam Sampson
# Copyright (C) 2010, 2011 Brian Gough
-# Copyright (C) 2012 Brandon Invergo <address@hidden>
+# Copyright (C) 2012, 2013 Brandon Invergo <address@hidden>
#
# Redistribution and/or use, with or without modification, is
# permitted. This software is without warranty of any kind. The
@@ -145,6 +145,22 @@
@echo -e "$(OK)$(lastword $(subst /, ,$(dir $(shell
pwd))))/$(MSG2)$(GARNAME) $(OFF)$(GARVERSION)"
@echo -e " $(DESCRIPTION)"
+# pkg-rec: generate GNU Recutils-friendly package listings. In other words,
this
+# output is more easily machine-readable than that of pkg-info
+pkg-rec:
+ @echo "Garname: $(GARNAME)"
+ @echo "Name: $(NAME)"
+ @echo "Upstream_name: $(UPSTREAMNAME)"
+ @echo "Version: $(GARVERSION)"
+ @echo "Home_URL: $(HOME_URL)"
+ @echo "Download_URL: $(firstword $(MASTER_SITES))$(MASTER_SUBDIR)"
+ @echo "Description: $(DESCRIPTION)"
+ @echo -e "Blurb: $(subst $(newline),\n+ ,$(BLURB))"
+ @for i in $(BUILDDEPS); do echo "Build_dep: $$i"; done
+ @for i in $(LIBDEPS); do echo "Lib_dep: $$i"; done
+ @for i in $(TESTDEPS); do echo "Test_dep: $$i"; done
+ @echo
+
# fetch-list - Show list of files that would be retrieved by fetch.
# NOTE: DOES NOT RUN pre-everything!
fetch-list:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gsrc-commit] /srv/bzr/gsrc/trunk r2028: add Recutils-friendly package listing pkg-rec,
Brandon Invergo <=