ab0bc4999a
deleting a path in the store. * Allow absolute paths in Nix expressions. * Get nix-prefetch-url to work again. * Various other fixes.
12 lines
305 B
Makefile
12 lines
305 B
Makefile
%: %.in Makefile
|
|
sed \
|
|
-e "s^@prefix\@^$(prefix)^g" \
|
|
-e "s^@bindir\@^$(bindir)^g" \
|
|
-e "s^@sysconfdir\@^$(sysconfdir)^g" \
|
|
-e "s^@localstatedir\@^$(localstatedir)^g" \
|
|
-e "s^@datadir\@^$(datadir)^g" \
|
|
-e "s^@host\@^$(host)^g" \
|
|
-e "s^@wget\@^$(wget)^g" \
|
|
< $< > $@ || rm $@
|
|
chmod +x $@
|