File: Makefile

package info (click to toggle)
wiki2beamer 0.10.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 480 kB
  • sloc: python: 1,215; xml: 345; makefile: 108
file content (21 lines) | stat: -rw-r--r-- 519 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
.PHONY: publish example man

USER=cleeus
PROJECT=wiki2beamer
DSTPATH=/home/groups/w/wi/wiki2beamer/htdocs/
EXAMPLEDIR=../tests/example/
MANDIR=../doc/man/

COMMANDS =put index.html $(DSTPATH) \n
COMMANDS+=put $(EXAMPLEDIR)/example.pdf $(DSTPATH)/wiki2beamer-example.pdf \n
COMMANDS+=put $(MANDIR)/wiki2beamer.html $(DSTPATH)/wiki2beamer.html \n
COMMANDS+=bye

publish: example man
	echo -e "$(COMMANDS)" | sftp -b - $(USER),$(PROJECT)@web.sourceforge.net

example:
	$(MAKE) -C $(EXAMPLEDIR)

man:
	$(MAKE) -C $(MANDIR)