remove files not needed for a dos djgpp build and move to top level
This commit is contained in:
parent
727abd3235
commit
74b6d6443d
25
Makefile
25
Makefile
|
@ -1,25 +0,0 @@
|
|||
PREFIX=/usr/local
|
||||
|
||||
BINDIR=$(PREFIX)/bin
|
||||
LIBDIR=$(PREFIX)/lib/fte
|
||||
CONFIGDIR=$(LIBDIR)/config
|
||||
|
||||
.PHONY: all install
|
||||
|
||||
all: fte
|
||||
(cd src ; make unix)
|
||||
|
||||
install: all
|
||||
sh install
|
||||
|
||||
fte: fte.in Makefile
|
||||
sed < fte.in >$@ \
|
||||
-e "s|@@CONFIGDIR@@|$(CONFIGDIR)|g" \
|
||||
-e "s|@@BINDIR@@|$(BINDIR)|g"
|
||||
chmod a+x $@
|
||||
|
||||
dist: fte
|
||||
|
||||
clean:
|
||||
rm -f fte
|
||||
(cd src ; make -f fte-unix.mak clean)
|
17
fte.in
17
fte.in
|
@ -1,17 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ ! -f $HOME/.fterc ]
|
||||
then
|
||||
# Is there a .fte/mymain.fte ? If not, create it.
|
||||
if [ ! -f $HOME/.fte/mymain.fte ]
|
||||
then
|
||||
if [ ! -d $HOME/.fte ]
|
||||
then
|
||||
mkdir $HOME/.fte
|
||||
fi
|
||||
cp @@CONFIGDIR@@/mymain.fte $HOME/.fte/mymain.fte
|
||||
fi
|
||||
(cd @@CONFIGDIR@@; @@BINDIR@@/cfte mymain.fte $HOME/.fterc) || exit 1
|
||||
fi
|
||||
|
||||
exec @@BINDIR@@/xfte "$@"
|
Some files were not shown because too many files have changed in this diff Show more
Reference in a new issue