I'd like to install updated 'file' utility;
do I need something like
taget='/usr/bin/'
in Makefile ?
which Makefile, '.am' or '.in' ?
# make
make: *** No targets specified and no makefile found. Stop.
file-4.21, README says:
--------
README - read this second (you are currently reading this file).
PORTING - read this only if the program won't compile.
Makefile - read this next, adapt it as needed (particularly
the location of the old existing file command and
the man page layouts), type "make" to compile,
"make try" to try it out against your old version.
Expect some diffs, particularly since your original
file(1) may not grok the embedded-space ("\ ") in
the current magic file, or may even not use the
magic file.
-------
there is no Makefile, there is Makefile.am and Makefile.in
# grep target Makefile*
Makefile.in:target_alias = @target_alias@
Makefile.in: target=`echo $@ | sed s/-recursive//`; \
Makefile.in: echo "Making $$target in $$subdir"; \
Makefile.in: local_target="$$target-am"; \
Makefile.in: local_target="$$target"; \
Makefile.in: (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
Makefile.in: $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
Makefile.in: target=`echo $@ | sed s/-recursive//`; \
Makefile.in: echo "Making $$target in $$subdir"; \
Makefile.in: local_target="$$target-am"; \
Makefile.in: local_target="$$target"; \
Makefile.in: (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
Makefile.in:# This target untars the dist file and tries a VPATH
configuration. Then
existing file is in:
# whereis file
file: /usr/bin/file /usr/local/bin/file /usr/share/man/man1/file.1.gz
/usr/share/man/mann/file.n.gz
--
Voytek
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html