xref: /freebsd/contrib/ee/Makefile (revision cfe30d02adda7c3b5c76156ac52d50d8cab325d9)
172fcea8cSEd Schouten# This is the make file for ee, the "easy editor".
272fcea8cSEd Schouten#
372fcea8cSEd Schouten# A file called 'make.local' will be generated which will contain information
472fcea8cSEd Schouten# specific to the local system, such as if it is a BSD or System V based
572fcea8cSEd Schouten# version of UNIX, whether or not it has catgets, or select.
672fcea8cSEd Schouten#
772fcea8cSEd Schouten# The "install" target ("make install") will copy the ee binary to
872fcea8cSEd Schouten# the /usr/local/bin directory on the local system.  The man page (ee.1)
972fcea8cSEd Schouten# will be copied into the /usr/local/man/man1 directory.
1072fcea8cSEd Schouten#
1172fcea8cSEd Schouten# The "clean" target ("make clean") will remove the ee and new_curse.o
1272fcea8cSEd Schouten# object files, and the ee binary.
1372fcea8cSEd Schouten#
1472fcea8cSEd Schouten
1572fcea8cSEd Schoutenall :	localmake buildee
1672fcea8cSEd Schouten
1772fcea8cSEd Schoutenbuildee :
1872fcea8cSEd Schouten	make -f make.local
1972fcea8cSEd Schouten
2072fcea8cSEd Schoutenlocalmake:
2172fcea8cSEd Schouten	@./create.make
2272fcea8cSEd Schouten
2372fcea8cSEd Schouteninstall :
2472fcea8cSEd Schouten	cp ee /usr/local/bin/ee
2572fcea8cSEd Schouten	cp ee.1 /usr/local/man/man1/ee.1
2672fcea8cSEd Schouten
2772fcea8cSEd Schoutenclean :
2872fcea8cSEd Schouten	rm -f ee.o new_curse.o ee
2972fcea8cSEd Schouten
30