File: Makefile

package info (click to toggle)
gopher 2.3-2
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 2,364 kB
  • ctags: 2,030
  • sloc: ansic: 22,451; perl: 1,950; sh: 1,510; makefile: 397; asm: 1
file content (50 lines) | stat: -rw-r--r-- 1,938 bytes parent folder | download | duplicates (2)
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
#######################################################################
# $Author: lindner $
# $Revision: 1.3 $
# $Date: 1995/02/17 18:30:00 $
# $Source: /home/arcwelder/GopherSrc/CVS/gopher+/gopherd/scripts/Makefile,v $
# $State: Exp $
#
# Paul Lindner, University of Minnesota DCS.
#
# Copyright 1994 by the Regents of the University of Minnesota
# see the file "Copyright" in the distribution for conditions of use.
#######################################################################
# MODULE: Makefile for scripts
#######################################################################
# Revision History:
# $Log: Makefile,v $
# Revision 1.3  1995/02/17  18:30:00  lindner
# Fix install for go4gw-type scripts
#
# Revision 1.2  1994/12/11  18:07:39  lindner
# More intelligent install routines
#
#
#######################################################################


SCRIPTFILES = add-account add-account.ask

include ../../Makefile.config

install:
	@-if [ ! -d $(SERVERDATA) ]; then \
		echo "No scripts installed, no such directory $(SERVERDATA)";\
	else \
		mkdir $(SERVERDATA)/bin ;\
		cp $(SCRIPTFILES) $(SERVERDATA)/bin ;\
		cp -r gateways $(SERVERDATA)/bin ;\
		ln -s $(SERVERDATA)/bin/gateways/g2archie.gd $(SERVERDATA)/bin/gateways/g2archie.gpd ;\
		ln -s $(SERVERDATA)/bin/gateways/g2finger.gd $(SERVERDATA)/bin/gateways/g2finger.gpd ;\
		ln -s $(SERVERDATA)/bin/gateways/g2ftphack.gd $(SERVERDATA)/bin/gateways/g2ftphack.gpd ;\
		ln -s $(SERVERDATA)/bin/gateways/g2geo.gd $(SERVERDATA)/bin/gateways/g2geo.gpd ;\
		ln -s $(SERVERDATA)/bin/gateways/g2netfind.gd $(SERVERDATA)/bin/gateways/g2netfind.gpd ;\
		ln -s $(SERVERDATA)/bin/gateways/g2nntp.gd $(SERVERDATA)/bin/gateways/g2nntp.gpd ;\
		ln -s $(SERVERDATA)/bin/gateways/g2webster.gd $(SERVERDATA)/bin/gateways/g2webster.gpd ;\
		ln -s $(SERVERDATA)/bin/gateways/g2whois.gd $(SERVERDATA)/bin/gateways/g2whois.gpd ;\
	fi

clean:
	-rm -f $(OBJS) *.out *~ core