aboutsummaryrefslogtreecommitdiffstats
path: root/norwegian/mirror/Makefile
blob: 2bdcd36d30a08cf4cfa0a7707ae436be7c7ff814 (plain) (blame)
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
52
53
# This Makefile should need no changes from webwml/english/devel/mirror/Makefile
# Please send a message to debian-www if you need to modify anything
# so the problem can be fixed.

WMLBASE=..
CUR_DIR=mirror
# list any subdirectories in the following variable. Any directories listed
# must exist or the make will not work
SUBS=

include $(WMLBASE)/Make.lang
include $(WMLBASE)/Make.common

MFILES := ftpsync ftpsync.conf websync websync.conf \
	identity.pub.master.ftp identity.pub.master.web \
	anonftpsync anonwebsync \
	ftpsync-non-US ftpsync-non-US.conf identity.pub.non-US.ftp
MIRROR_FILES := $(patsubst %,$(HTMLDIR)/%,$(MFILES))

install:: $(MIRROR_FILES)

cleandest::
	-rm -f $(HTMLDEST)/{$(MIRROR_FILES)}

include $(WMLBASE)/Make.dep.templ    
include $(WMLBASE)/Make.dep.generic

# there only needs to be one version of the following so
# the non-english directories shouldn't try to install them
ifeq ($(LANGUAGE),en)
$(HTMLDIR)/ftpsync: ftpsync
	cp ftpsync $(HTMLDIR)
$(HTMLDIR)/ftpsync.conf: ftpsync.conf
	cp ftpsync.conf $(HTMLDIR)
$(HTMLDIR)/ftpsync-non-US: ftpsync-non-US
	cp ftpsync-non-US $(HTMLDIR)
$(HTMLDIR)/ftpsync-non-US.conf: ftpsync-non-US.conf
	cp ftpsync-non-US.conf $(HTMLDIR)
$(HTMLDIR)/websync: websync
	cp websync $(HTMLDIR)
$(HTMLDIR)/websync.conf: websync.conf
	cp websync.conf $(HTMLDIR)
$(HTMLDIR)/identity.pub.master.ftp: identity.pub.master.ftp
	cp identity.pub.master.ftp $(HTMLDIR)
$(HTMLDIR)/identity.pub.non-US.ftp: identity.pub.non-US.ftp
	cp identity.pub.non-US.ftp $(HTMLDIR)
$(HTMLDIR)/identity.pub.master.web: identity.pub.master.web
	cp identity.pub.master.web $(HTMLDIR)
$(HTMLDIR)/anonftpsync: anonftpsync
	cp anonftpsync $(HTMLDIR)
$(HTMLDIR)/anonwebsync: anonwebsync
	cp anonwebsync $(HTMLDIR)
endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy