groff
[Top][All Lists]
Advanced

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

[Groff] [patch] improve POSIX conformance in contrib/glilypond/Makefile.


From: Ingo Schwarze
Subject: [Groff] [patch] improve POSIX conformance in contrib/glilypond/Makefile.sub
Date: Mon, 10 Mar 2014 21:44:10 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

here is another one, fixing the same issue as in one of my last patches,
only in the next subsystem...

Yours,
  Ingo


commit 3eae2e398791d86ec083b197cf428782636aa376
Author: Ingo Schwarze <address@hidden>
Date:   Mon Mar 10 21:05:57 2014 +0100

    Improve POSIX conformance in contrib/glilypond/Makefile.sub
    
    Do not use $< outside inference rules,
    and even less when there are multiple targets.

diff --git a/contrib/glilypond/ChangeLog b/contrib/glilypond/ChangeLog
index c0a34fa..1983223 100644
--- a/contrib/glilypond/ChangeLog
+++ b/contrib/glilypond/ChangeLog
@@ -1,3 +1,9 @@
+2014-03-10  Ingo Schwarze  <address@hidden>
+
+       * contrib/glilypond/Makefile.sub: POSIX conformance:
+         Do not use $< outside inference rules,
+         and even less when there are multiple targets.
+
 2014-02-14  Bernd Warken  <address@hidden>
 
        * contrib/glilypond/examples/example.groff: Add this directory and
diff --git a/contrib/glilypond/Makefile.sub b/contrib/glilypond/Makefile.sub
index c934e1d..0ff5e3e 100644
--- a/contrib/glilypond/Makefile.sub
+++ b/contrib/glilypond/Makefile.sub
@@ -60,8 +60,8 @@ glilypond: $(srcdir)/glilypond.pl
 install_data: glilypond $(GLILYPOND_LIB)
        -test -d $(DESTDIR)$(bindir) \
                || $(mkinstalldirs) $(DESTDIR)$(bindir)
-       $(RM) $(DESTDIR)$(bindir)/$<
-       $(INSTALL_SCRIPT) glilypond $(DESTDIR)$(bindir)/$<
+       $(RM) $(DESTDIR)$(bindir)/glilypond
+       $(INSTALL_SCRIPT) glilypond $(DESTDIR)$(bindir)/glilypond
        -test -d $(DESTDIR)$(glilypond_dir) \
                || $(mkinstalldirs) $(DESTDIR)$(glilypond_dir)
        for f in $(GLILYPOND_LIB_); do \



reply via email to

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