gsrc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gsrc-commit] trunk r2751: remove output on foo-p targets


From: Brandon Invergo
Subject: [Gsrc-commit] trunk r2751: remove output on foo-p targets
Date: Sun, 08 Dec 2013 22:04:30 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 2751
revision-id: address@hidden
parent: address@hidden
committer: Brandon Invergo <address@hidden>
branch nick: trunk
timestamp: Sun 2013-12-08 22:04:15 +0000
message:
  remove output on foo-p targets
modified:
  ChangeLog                      changelog-20100709141706-qgja2j0qu34ekbcd-1
  gar.mk                         gar.mk-20100602191336-d3df1ggfm1r56woa-6
=== modified file 'ChangeLog'
--- a/ChangeLog 2013-11-11 09:05:15 +0000
+++ b/ChangeLog 2013-12-08 22:04:15 +0000
@@ -1,3 +1,9 @@
+2013-12-08  Brandon Invergo  <address@hidden>
+
+       * gar.mk (install-src-p): Remove output
+       * gar.mk (install-p): Remove output
+       * gar.mk (reinstall-p): Remove output
+
 2013-11-11  Brandon Invergo  <address@hidden>
 
        * gar.mk (uninstall-src-old): Add recipe to clean out old source

=== modified file 'gar.mk'
--- a/gar.mk    2013-11-11 21:40:19 +0000
+++ b/gar.mk    2013-12-08 22:04:15 +0000
@@ -304,16 +304,10 @@
 # returns true if install has completed successfully, false
 # otherwise
 install-p:
-       (test -h $(dotgardir)/VERSION && \
-               test "`readlink $(dotgardir)/VERSION`" = $(PACKAGENAME) && \
-               printf "[$(OK)install-p$(OFF)] $(MSG)$(PACKAGENAME) is 
installed$(OFF)\n") || \
-               (printf "[$(ERR)install-p$(OFF)] $(MSG)$(PACKAGENAME) is not 
installed$(OFF)\n" && exit 1) \
+       @test -h $(dotgardir)/VERSION && test "`readlink $(dotgardir)/VERSION`" 
= $(PACKAGENAME)
 
 reinstall-p:
-       (test -d $(packagesdir)/$(PACKAGENAME) && \
-               printf "[$(OK)reinstall-p$(OFF)] $(MSG)$(PACKAGENAME) is 
available to be reinstalled$(OFF)\n") || \
-       (printf "[$(ERR)reinstall-p$(OFF)] $(MSG)$(PACKAGENAME) is not 
available to be reinstalled$(OFF)\n" && \
-               exit 1)
+       @test -d $(packagesdir)/$(PACKAGENAME)
 
 reinstall: $(addprefix dep-$(GARDIR)/,$(LIBDEPS)) $(addprefix 
sysinstall-,$(filter-out $(SYSINSTALL_IGNORE),$(SYSINSTALL_TARGETS)))
 
@@ -324,10 +318,7 @@
        $(MAKECOOKIE)
 
 install-src-p:
-       (test -d $(SRCDIR)/$(GARNAME)-$(GARVERSION) && \
-               printf "[$(OK)install-src-p$(OFF)] $(MSG)$(PACKAGENAME) source 
is installed $(OFF)\n") || \
-       (printf "[$(ERR)install-src-p$(OFF)] $(MSG)$(PACKAGENAME) source is not 
installed $(OFF)\n" && \
-               exit 1)
+       @test -d $(SRCDIR)/$(GARNAME)-$(GARVERSION)
 
 uninstall-src:
        @printf "[$(OK)uninstall-src$(OK)] $(MSG)Uninstalling 
$(GARNAME)-$(GARVERSION) source code$(OFF)\n"


reply via email to

[Prev in Thread] Current Thread [Next in Thread]