Makefile's use of $< vs $@.in

Description

diff -u Makefile.in.orig Makefile.in
— Makefile.in.orig Tue May 20 16:22:44 2008
+++ Makefile.in Tue May 20 16:23:30 2008
@@ -832,13 +832,13 @@

shibboleth.spec: shibboleth.spec.in Makefile
rm -f $@.tmp

  • sed < $< > $@.tmp \ + sed < $@.in > $@.tmp \ e 's:@-VERSION@:${VERSION}:'
    mv $@.tmp $@

pkginfo: pkginfo.in Makefile
rm -f $@.tmp

  • sed < $< > $@.tmp \ + sed < $@.in > $@.tmp \ e 's:@-VERSION@:${VERSION}:'
    mv $@.tmp $@

  1. Tell versions [3.59,3.63) of GNU make to not export all variables.

Environment

/usr/ccs/bin/make from cc: Sun C 5.8 Patch 121016-07 2007/10/03 doesn't like the use of $< being passed to sed

Activity

Scott Cantor May 26, 2008 at 8:41 PM

Patched in all relevant projects.

Fixed

Assignee

Reporter

Components

Fix versions

Affects versions

Created May 20, 2008 at 1:59 AM
Updated June 24, 2021 at 2:47 PM
Resolved May 26, 2008 at 8:41 PM