perl-begin / Makefile

TARGET = dest


LATEMP_WML_INCLUDE_PATH =$(shell latemp-config --wml-include-path)

WML_FLAGS += --passoption=2,-X3074 --passoption=3,-I../lib/ \
	--passoption=3,-w -I$(LATEMP_WML_INCLUDE_PATH) -I../ -DROOT~. \
	-I../lib/ --passoption=7,"-S imgsize"

RSYNC = rsync --progress --verbose --rsh=ssh 

ARC_NAME := $(shell cd temp && ./

DEST_ARC_PAGE = $(TARGET)/source/index.html

LIBRARY_FILES = template.wml lib/books.wml

all: latemp_targets

include include.mak
include rules.mak

upload: upload_berlios

upload_berlios: all
	(cd dest && $(RSYNC) -r *

upload_iglu: all
	(cd dest && $(RSYNC) -r *

DEST_ARC_NAME = $(TARGET)/source/arcs/$(ARC_NAME)

# .PHONY: 
# $(DEST_ARC_PAGE) :: $(TARGET)/% : src/%.wml $(LIBRARY_FILES) .PHONY
# 	(cd src && wml $(WML_FLAGS) -DARCNAME=$(ARC_NAME) -DFILENAME=$(patsubst src/%.wml,%,$<) $(patsubst src/%,%,$<)) > $@
# 	(cd temp && ./
# 	mv temp/$(ARC_NAME) $@
# upload_arc: arc
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.