1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
# This is the make file for aee, "another easy editor".
#
# A file called 'make.aee' will be generated which will contain information
# specific to the local system, such as if it is a BSD or System V based
# version of UNIX, whether or not it has catgets, or select.
#
# The "install" target ("make install") will copy the aee and xae binaries to
# the /usr/local/bin directory on the local system. The man page (aee.1)
# will be copied into the /usr/local/man/man1 directory.
#
# The "clean" target ("make clean") will remove the
# object files, and the aee and xae binaries.
#
main : localaee buildaee
all : both
both : main xae
xae : localxae buildxae
buildaee :
make -f make.aee
localaee:
@./create.mk.aee
buildxae :
(cd xae_dir; make -f make.xae)
localxae:
@./create.mk.xae
install :
mkdir -p $(DESTDIR)/usr/bin
mkdir -p $(DESTDIR)/usr/X11R6/bin
mkdir -p $(DESTDIR)/usr/share/man/man1
mkdir -p $(DESTDIR)/usr/X11R6/man/man1
mkdir -p $(DESTDIR)/usr/lib/aee
gzip -c -9 aee.1 > aee.1.gz
install aee $(DESTDIR)/usr/bin
install xae $(DESTDIR)/usr/X11R6/bin
install aee.1.gz $(DESTDIR)/usr/share/man/man1
install aee.1.gz $(DESTDIR)/usr/X11R6/man/man1/xae.1x.gz
rm aee.1.gz
cp help.ae $(DESTDIR)/usr/lib/aee
clean :
rm -f *.o aee xae xae_dir/*.o
|