Consistently use @ as token delimiter in .in files

This commit is contained in:
Kim Woelders 2020-01-12 16:37:42 +01:00
parent 7836d0cf3e
commit c40e0e4787
4 changed files with 7 additions and 7 deletions

View File

@ -6,8 +6,8 @@ CLEANFILES = e16.1
MAINTAINERCLEANFILES = e16.html
MANSUBST = \
-e "s=%VERSION%=${VERSION}=" \
-e "s=%DOCDIR%=$(e16docdir)="
-e "s=\@VERSION\@=${VERSION}=" \
-e "s=\@DOCDIR\@=$(e16docdir)="
e16.1: e16.man.in
sed $(MANSUBST) $< > $@

View File

@ -1,4 +1,4 @@
.TH e16 1 %VERSION%
.TH e16 1 @VERSION@
.SH NAME
e16 \- The Enlightenment DR16 window manager
@ -43,7 +43,7 @@ Print e16 version and exit.
Start e16 running within a window. Mostly for debugging.
.SH "SEE ALSO"
%DOCDIR%/e16.html
@DOCDIR@/e16.html
.\".br
.\"eesh(1)

View File

@ -41,7 +41,7 @@ CLEANFILES = $(DESKTOPS_APP) $(XSESSION_MISC) $(XSESSION_GNOME2) starte16
starte16: $(srcdir)/starte16.in Makefile
starte16:
sed -e "s=%bindir%=${bindir}=" $(srcdir)/$@.in > $@
sed -e "s=\@bindir\@=${bindir}=" $(srcdir)/$@.in > $@
e16.desktop: $(srcdir)/e16.desktop.in Makefile
e16-gnome.desktop: $(srcdir)/e16-gnome.desktop.in Makefile

View File

@ -16,9 +16,9 @@ case "$s" in
exec startkde
;;
*window)
exec %bindir%/e16 -w ${SIZE:-800x600}
exec @bindir@/e16 -w ${SIZE:-800x600}
;;
*)
exec %bindir%/e16
exec @bindir@/e16
;;
esac