"Fossies" - the Fresh Open Source Software Archive

Member "pidentd-3.0.19/Makefile.dist" (18 Oct 2005, 1568 Bytes) of package /linux/misc/old/pidentd-3.0.19.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 # Makefile.dist for Pidentd 3.0
    2 #
    3 # This file can not be used to build Pidentd - it's only used to
    4 # generate the distribution files
    5 #
    6 
    7 SCP = scp
    8 TAR = tar
    9 PGPSIGN = gpg
   10 MD5SUM = md5sum -b
   11 GZIP = gzip
   12 UPLOAD_TARGET = pen@ftp.lysator.liu.se:~ftp/pub/ident/servers/test
   13 
   14 all:
   15 	@echo 'Sorry, this file (Makefile.dist) can not be used'
   16 	@echo 'to make Pidentd - use the ./configure script to'
   17 	@echo 'create a Makefile.'
   18 	@exit 1
   19 
   20 
   21 clean mostlyclean:
   22 	(cd src ; rm -f identd gen_osinfo itest ibench idecrypt ikeygen *.o)
   23 	rm -f core *~ \#*
   24 	rm -f */core */*~ */\#*
   25 
   26 
   27 distclean maintainer-clean: mostlyclean
   28 	rm -fr autom4te.cache src/Makefile src/config.h Makefile config.status config.log config.cache 
   29 
   30 
   31 configure:	configure.in
   32 	autoconf
   33 
   34 #
   35 version:
   36 	(PACKNAME=`basename \`pwd\`` ; echo 'char server_version[] = "'`echo $$PACKNAME | cut -d- -f2`'";' >src/version.c)
   37 
   38 #
   39 
   40 dist:	version distclean configure
   41 	(PACKNAME=`basename \`pwd\`` ; cd .. ; $(TAR) cf - $$PACKNAME | gzip -9 >$$PACKNAME.tar.gz)
   42 
   43 
   44 sign:	dist
   45 	(PACKNAME=`basename \`pwd\`` ; cd .. ; $(PGPSIGN) -ab -o $$PACKNAME.tar.gz.sig $$PACKNAME.tar.gz && chmod go+r $$PACKNAME.tar.gz.sig)
   46 
   47 md5:	dist
   48 	(PACKNAME=`basename \`pwd\`` ; cd .. ; $(MD5SUM)  $$PACKNAME.tar.gz >$$PACKNAME.tar.gz.md5 && chmod go+r $$PACKNAME.tar.gz.md5)
   49 
   50 upload:	dist md5 sign
   51 	(PACKNAME=`basename \`pwd\`` ; cd .. ; $(SCP) $$PACKNAME.tar.gz $$PACKNAME.tar.gz.sig $$PACKNAME.tar.gz.md5 $(UPLOAD_TARGET))
   52 
   53 Makefile Makefiles: Makefile.in src/Makefile.in config.status
   54 	./config.status
   55 
   56 config.status: configure
   57 	./config.status --recheck
   58 
   59