123456789101112131415161718 |
- SOURCEDIR=/var/www/htdocs/libertybsd.net/${clangcode}/lbsd
- DESTDIR=/var/www/htdocs/libertybsd.net/${clangcode}/lbsd.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
|