Commit c57cf926 authored by Peter Pentchev's avatar Peter Pentchev

Simplify the "install" target.

parent 3f912fc4
......@@ -30,6 +30,7 @@ Change log for hexer, the multi-view binary editor
- no need to ignore the result of "rm -f" :)
- use CFLAGS when building bin2c
- do not try to follow dependencies for termlib.c
- simplify the "install" target
- rename the KEY_* constants to HXKEY_* to avoid conflicts with
the curses header files
- add an "hx_" prefix to the "lines", "columns", and
......
......@@ -127,17 +127,10 @@ distclean: clean
rm -f depend
install: all
@{ echo installing $(HEXER) in $(BINDIR); \
$(INSTALLBIN) $(HEXER) $(BINDIR); \
echo installing $(HEXER).1 in $(MANDIR); \
$(INSTALLMAN) $(HEXER).1 $(MANDIR); \
if [ -f $(MYC) ]; then \
echo installing $(MYC) in $(BINDIR); \
$(INSTALLBIN) $(MYC) $(BINDIR); \
echo installing $(MYC).1 in $(MANDIR); \
$(INSTALLMAN) $(MYC).1 $(MANDIR); \
fi; }
$(INSTALLBIN) $(HEXER) $(BINDIR)
$(INSTALLMAN) $(HEXER).1 $(MANDIR)
[ ! -f $(MYC) ] || $(INSTALLBIN) $(MYC) $(BINDIR)
[ ! -f $(MYC) ] || $(INSTALLMAN) $(MYC).1 $(MANDIR)
### DO NOT DELETE THIS LINE ###
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment