# Fg42 - Emacs Editor for advance users # # Copyright (c) 2010-2022 Sameer Rahmani # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, version 2. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . my_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) .PHONY: update update: @git pull origin master .PHONY: install install: /bin/sh $(my_dir)/scripts/install_files.sh runners @echo " " @echo "------------------------------------------------------------------------------------" @echo "Make sure to install external dependencies of FG42. For more info checkout README.org" @echo "Enjoy the bless of GNU/Emacs and FG42 :)" .PHONY: install-fonts install-fonts: /bin/sh $(my_dir)/scripts/install_files.sh fonts .PHONY: install-extras install-extras: /bin/sh $(my_dir)/scripts/install_files.sh extras .PHONY: doc-clean clean: @rm -rf $(shell find `pwd` -iname "*~") @rm -rf build .PHONY: dev-docs dev-docs: clean ./build.el docs .PHONY: docs docs: FG42_PROD=true ./build.el docs serve: build npx http-server ./build .PHONY: deploy-docs deploy-docs: docs rsync -vlcr --delete-after ./build/* core.lxsameer.com:/home/www/public/fg42/ .PHONY: dummy-x dummy-x: Xephyr -br -ac -noreset -screen 800x600 :1 .PHONY: test-wm test-wm: DISPLAY=:1 FG42_WM=true FG42_V3=true ./fg42-wm