mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
* Remove the need to maintain a new_translation.loc * Add a sed invocation to remove comments and unwanted stuff to generate a final embedded.loc * Note: sed is only invoked for MinGW. MS compilers still embed the unmodified rufus.loc. * Also fix a small bug when parsing the version.
16 lines
307 B
Makefile
16 lines
307 B
Makefile
all-local: embedded.loc
|
|
|
|
BUILT_SOURCES = embedded.loc
|
|
noinst_PROGRAMS =
|
|
noinst_EXES =
|
|
|
|
pkg_v_sed = $(pkg_v_sed_$(V))
|
|
pkg_v_sed_ = $(pkg_v_sed_$(AM_DEFAULT_VERBOSITY))
|
|
pkg_v_sed_0 = @echo " SED $<";
|
|
|
|
embedded.loc: rufus.loc
|
|
$(pkg_v_sed)$(SED) -f embedded.sed $< > $@
|
|
|
|
clean-local:
|
|
-rm -rf embedded.loc
|