diff options
author | Alexey Neyman <stilor@att.net> | 2018-03-17 21:43:24 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-04-07 12:03:17 -0700 |
commit | 5159cd7bc070a4fbf013e6c8c259ccb8ef391b0d (patch) | |
tree | 99d9914cb726d158649883870c9f929edb7fe880 /Makefile.am | |
parent | 5b95b81ea90682c124d5280b64a91a249c464ee4 (diff) | |
download | crosstool-ng-5159cd7bc070a4fbf013e6c8c259ccb8ef391b0d.tar.gz crosstool-ng-5159cd7bc070a4fbf013e6c8c259ccb8ef391b0d.tar.bz2 crosstool-ng-5159cd7bc070a4fbf013e6c8c259ccb8ef391b0d.zip |
Adjust the paths to match new stuff location
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index c58c45fd..72df9536 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,14 +9,16 @@ bin_SCRIPTS = ct-ng CLEANFILES = $(bin_SCRIPTS) EXTRA_DIST = ct-ng.in bootstrap -nobase_dist_pkgdata_DATA = $(verbatim_data) +# paths.sh generated by configure +nobase_dist_pkgdata_DATA = $(verbatim_data) paths.sh do_subst = ( @SED@ \ -e 's,[@]bindir[@],$(bindir),g' \ - -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]docdir[@],$(docdir),g' \ -e 's,[@]mandir[@],$(mandir),g' \ + -e 's,[@]pkgdatadir[@],$(pkgdatadir),g' \ + -e 's,[@]pkglibexecdir[@],$(pkglibexecdir),g' \ | $(SHELL) config.status --file=- ) -ct-ng: ct-ng.in - $(AM_V_GEN)$(do_subst) < $< >$@-t && chmod a-w,a+x $@-t && mv $@-t $@ +ct-ng: ct-ng.in Makefile + $(AM_V_GEN)$(do_subst) < $< >$@-t && chmod a-w,a+x $@-t && mv -f $@-t $@ |