bug-make
[Top][All Lists]
Advanced

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

Re: addsuffix influence...


From: 積丹尼 Dan Jacobson
Subject: Re: addsuffix influence...
Date: Fri, 29 Mar 2019 12:55:41 +0800

OK you're right. But why is what is on line A influencing this when we
are trying to make B?
$ cat makefile
D=X_X_X_X
N=noise
L=light
A:$D/$(addsuffix .kmz, $L $N)
B:$D/$L.kmz $D/$N.kmz
%.kmz:%.kml; minizip -o $@ $?
%.kml:%.kml0; fgrep -v '?xml' $? > $@
%.kml0: n input.txt; mode=$* ./n input.txt > $@
$D/%:%; cp -a $? $@
$ touch n input.txt
$ cat makefile |sed /A/s/add/xxx/| make -f - -n B|sed $\!d
rm noise.kml noise.kmz noise.kml0 light.kml light.kmz light.kml0
$ cat makefile |                   make -f - -n B|sed $\!d
rm noise.kml noise.kml0 light.kml light.kmz light.kml0



reply via email to

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