Skip to content

Commit

Permalink
Use autoconf variables
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Gladkov <[email protected]>
  • Loading branch information
legionus committed Dec 19, 2019
1 parent 7f23947 commit 74bbe84
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ install-data-hook: $(KEYMAPDIR)_Z $(FONTDIR)_Z
install -d -m 755 $(DESTDIR)$(datadir)/$(KEYMAPDIR)/$$i ;\
install -m 644 $(KEYMAPDIR)_Z/$$i/* $(DESTDIR)$(datadir)/$(KEYMAPDIR)/$$i ;\
done
rm -f $(DESTDIR)$(datadir)/$(KEYMAPDIR)/ppc; ln -s mac $(DESTDIR)$(datadir)/$(KEYMAPDIR)/ppc
rm -f $(DESTDIR)$(datadir)/$(KEYMAPDIR)/ppc; $(LN_S) mac $(DESTDIR)$(datadir)/$(KEYMAPDIR)/ppc
@if [ -f $(DESTDIR)$(datadir)/$(OLDKEYMAPDIR) ]; then \
echo "Done. You may want to remove old keymaps with" ; \
echo " rm -rf $(DESTDIR)$(datadir)/$(OLDKEYMAPDIR)" ; \
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/libkeymap/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ htmldir = $(docdir)/html
html_DATA = html/*

$(abs_builddir)/Doxyfile: $(abs_srcdir)/Doxyfile.in
sed \
$(SED) \
-e 's,[@]VERSION[@],$(VERSION),g' \
-e 's,[@]MODULE[@],$(DOC_MODULE),g' \
-e 's,[@]TOPDIR[@],$(abs_top_srcdir),g' \
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,5 @@ LDADD = \
install-exec-hook:
for i in psfaddtable psfgettable psfstriptable; do \
rm -f $(DESTDIR)$(bindir)/$$i; \
ln -s psfxtable $(DESTDIR)$(bindir)/$$i || exit $$?; \
$(LN_S) psfxtable $(DESTDIR)$(bindir)/$$i || exit $$?; \
done
2 changes: 1 addition & 1 deletion src/libkeymap/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ syms.%.h:
$(V_GEN_SYMS)$(GEN_SYMS) -n $*_syms -s $(call charset_start,$*) <$(call charset_trans,$*) >$(builddir)/$@

%.pc: %.pc.in Makefile
sed \
$(SED) \
-e 's,[@]VERSION[@],$(VERSION),g' \
-e 's,[@]prefix[@],$(prefix),g' \
-e 's,[@]exec_prefix[@],$(exec_prefix),g' \
Expand Down

0 comments on commit 74bbe84

Please sign in to comment.