VER=$(shell pwd | cut -dv -f2) CIBLE=HP-HOWTO RH=/usr/src/redhat .EXPORT_ALL_VARIABLES: all: Makefile-FR if [ ! -d images ]; then ln -sf ../images ; fi make -f Makefile-FR all make -f Makefile-EN all all-rtf: Makefile-FR make -f Makefile-FR all-rtf make -f Makefile-EN all-rtf bull: all make -f Makefile-FR bull make -f Makefile-EN bull clean: Makefile-FR make -f Makefile-FR clean make -f Makefile-EN clean rm -f images/netcraft.gif images/netcraft.png (cd images ; wget -c http://www.netcraft.com/survey/Reports/200103/overallc.gif) web: bull rpm make -f Makefile-FR web make -f Makefile-EN web rpm: bull make -f Makefile-FR rpm make -f Makefile-EN rpm ln -sf $(RH)/SRPMS/$(CIBLE)-FR-$(VER)-1.src.rpm . ln -sf $(RH)/SRPMS/$(CIBLE)-EN-$(VER)-1.src.rpm . Makefile-FR: Makefile.src /usr/lib/wml/exec/wml_p9_slice -o ENuUNDEF:Makefile-EN -o FRuUNDEF:Makefile-FR Makefile.src livhp: all zip -v $(CIBLE)-$(VER).zip *.pdf echo "Here is the new HP-HOWTO/Voici la nouvelle version du HP-HOWTO" | mutt hphowto -c bruno -a $(CIBLE)-$(VER).zip -s "$(CIBLE) Version $(VER)" LDP: all Makefile-FR make -f Makefile-EN LDP make -f Makefile-FR LDP bco: echo "Sources du HP-HOWTO" | mutt bruno@victoria.frmug.org -c bco -a $(CIBLE).spec -a Makefile.src -a Makefile -a $(CIBLE).dtd -a $(CIBLE).dsl -a $(CIBLE).cat -a $(CIBLE).sgml -a $(CIBLE).spec -a annonce-en -a annonce-fr -s "$(CIBLE) Sources Version $(VER)"