all:help

help::
	@echo 'make help            # This message.'


help::
	@echo 'make cv              # make my Resume.'
cv:
	$(MAKE) -C org.ogamita.pjb/cv cv

help::
	@echo 'make update-all      # git pull subdirectories and update.'
update-all:update-git update

git-update:
	make -C com.informatimago.www git-clone

git-pull:   git-update
update-git: git-update

SMALL_CL_PGMS=com.informatimago.www/develop/lisp/com/informatimago/small-cl-pgms

help::
	@echo 'make update          # Reprocess nodes in pjb.'
update:generate
	make -C $(SMALL_CL_PGMS)
	cd com.informatimago.www ; ../bin/html-update -v nodes.el
	cd org.ogamita.pjb       ; ../bin/html-update    nodes.el
	-find . -name \*~ -exec rm -f {} \;
	bin/publish .

help::
	@echo 'make generate        # updates the access rights and generates in small-cl-pgms.'
generate:rights
	$(MAKE) $(MFLAGS) -C $(SMALL_CL_PGMS) generate


help::
	@echo 'make upload          # sitecopy to the mirrors.'
upload:
	sitecopy -a -k -o -u


tidy-m:
	@find . -name \*.html -exec tidy -m {} \;
tidy-e:
	@find . -name \*.html -exec tidy -e {} \;


clean:
	@find . -name \*~ -exec rm -f {} \;

help::
	@echo 'make rights          # makes the bin/* executable.'
rights:
	$(MAKE) -C bin
	bin/publish .

help::
	@echo 'make la-totale       # does everything required and uploads the sites.'
la-totale:
	$(MAKE) update
	git commit -a -m 'Updated table of contents.'
	git push
	$(MAKE) upload

### THE END ###
ViewGit