Use sed with multiple -es, rather than multiple seds.
This commit is contained in:
parent
913aeadd01
commit
0db99b03c4
12
Makefile.am
12
Makefile.am
|
@ -129,11 +129,13 @@ tockincdir=$(TOCKINCDIR)
|
|||
tocklibdir=$(TOCKLIBDIR)
|
||||
|
||||
config/Paths.hs: config/Paths.hs.in Makefile
|
||||
@sed -e 's,@@pkgincludedir@@,$(pkgincludedir),g' config/Paths.hs.in \
|
||||
| sed -e 's,@@tockdir@@,$(TOCKDIR),g' \
|
||||
| sed -e 's,@@tockmoddir@@,$(TOCKMODDIR),g' \
|
||||
| sed -e 's,@@tockincdir@@,$(TOCKINCDIR),g' \
|
||||
| sed -e 's,@@tocklibdir@@,$(TOCKLIBDIR),g' >config/Paths.hs
|
||||
@sed \
|
||||
-e 's,@@pkgincludedir@@,$(pkgincludedir),g' \
|
||||
-e 's,@@tockdir@@,$(TOCKDIR),g' \
|
||||
-e 's,@@tockmoddir@@,$(TOCKMODDIR),g' \
|
||||
-e 's,@@tockincdir@@,$(TOCKINCDIR),g' \
|
||||
-e 's,@@tocklibdir@@,$(TOCKLIBDIR),g' \
|
||||
config/Paths.hs.in >config/Paths.hs
|
||||
|
||||
data/NavAST.hs: GenNavAST$(EXEEXT)
|
||||
./GenNavAST$(EXEEXT) data/NavAST.hs
|
||||
|
|
Loading…
Reference in New Issue
Block a user