/[ddp]/manuals/trunk/es/Makefile
ViewVC logotype

Contents of /manuals/trunk/es/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2133 - (show annotations) (download)
Thu Jan 30 21:42:27 2003 UTC (10 years, 3 months ago) by jfs
File size: 989 byte(s)
Spanish branch of the DDP to be used when documents are only available in
Spanish
1 # Top-level makefile for the Debian Documentation Project manuals
2
3 # live documentation
4 SUBDIRS :=
5
6 SUBDIRS-publish := $(addsuffix -publish,$(SUBDIRS))
7 SUBDIRS-clean := $(addsuffix -clean,$(SUBDIRS))
8
9 # where we should publish to
10 PUBLISHDIR := /org/www.debian.org/www/doc/manuals
11 THISSUBDIR := $(shell basename $(shell pwd))
12 # How to install stuff in publish directory
13 install_file := install -p -m 664
14 install_dir := install -d -m 2775
15 # arguments to make publish
16 publish_args := PUBLISHDIR=$(PUBLISHDIR)/$(THISSUBDIR) install_file="$(install_file)" install_dir="$(install_dir)"
17
18 .SUFFIXES:
19 .PHONY: all publish clean $(SUBDIRS) $(SUBDIRS-publish) $(SUBDIRS-clean)
20
21 all: $(SUBDIRS)
22
23 publish::
24 [ -d $(PUBLISHDIR)/$(THISSUBDIR) ] || mkdir -p $(PUBLISHDIR)/$(THISSUBDIR)
25 publish:: $(SUBDIRS-publish)
26
27 clean: $(SUBDIRS-clean)
28
29 $(SUBDIRS):
30 $(MAKE) -C $@
31
32 $(SUBDIRS-publish):
33 $(MAKE) -C $(subst -publish,,$@) publish $(publish_args)
34
35 $(SUBDIRS-clean):
36 $(MAKE) -C $(subst -clean,,$@) clean

  ViewVC Help
Powered by ViewVC 1.1.5