123456789101112131415161718 |
- SOURCEDIR=/var/www/htdocs/libregamenight.xyz/${LANGCODE}/lgn
- DESTDIR=/var/www/htdocs/libregamenight.xyz/${LANGCODE}/lgn.static
- all:
- ./swx $(SOURCEDIR)
- ./swx_sitemap $(DESTDIR) > $(DESTDIR)/sitemap.xml
- gzip --best -c $(DESTDIR)/sitemap.xml > $(DESTDIR)/sitemap.gz
- ./swx_plan $(DESTDIR) > $(DESTDIR)/siteplan.html
- ./swx_rss $(SOURCEDIR) > $(DESTDIR)/feed.xml
- gopher:
- ./swx_gopher $(SOURCEDIR)
- clean:
- rm -rf $(DESTDIR)
- rm swx.log
- force:
- find lgn {} \;
- make all
|