"Fossies" - the Fresh Open Source Software Archive

Member "edict/Makefile" (19 Jun 2010, 1318 Bytes) of package /linux/privat/old/edict-2.6.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #
    2 # Makefile
    3 #
    4 # Makefile for edict project
    5 #
    6 # Created:  Mon Dec  9 16:18:29 PST 2002
    7 # Authors:  Vishal Verma
    8 #
    9 
   10 prefix = /usr/bin
   11 exec = edict
   12 thes = ethes
   13 version = 
   14 export version
   15 
   16 all:
   17 	@echo "Run \"make install\" as root if you want to install edict."
   18 	@echo "edict will be installed by default in $(prefix). To change that use:"
   19 	@echo "make prefix=/my/path install"
   20 
   21 install:
   22 	@echo "------------------------------------------------------"
   23 	@echo "Please view the README file, before using the program."
   24 	@echo "------------------------------------------------------"
   25 	@echo "Installing as $(prefix)/$(exec)"
   26 	@install -D $(exec) $(prefix)/$(exec)
   27 	@[ -f $(prefix)/$(thes) ] || ln -s $(prefix)/$(exec) $(prefix)/$(thes)
   28 	@echo "Install successful"
   29 	@echo "Now you can run edict as:"
   30 	@echo "    edict <word>"
   31 	@echo "to view the meaning of <word>"
   32 	@echo "You can also run ethes:"
   33 	@echo "    ethes <word>"
   34 	@echo "to view the synonyms/antonyms for <word>"
   35 
   36 
   37 dist:
   38 	cd ..;	\
   39 	cp -a src edict;	\
   40 	echo; echo Creating tar.gz ...;	\
   41 	version=`grep '^my $$version' edict/edict | cut -d\' -f 2`;	\
   42 	rm edict-$$version*.gz; rm edict-$$version*.zip; \
   43 	tar --exclude edict/CVS -zcvf edict-$$version.tar.gz edict;	\
   44 	echo; echo Creating .zip ...;	\
   45 	zip -r edict-$$version.zip edict -x edict/CVS/\*; \
   46 	rm -rf edict;