2021-12-11 14:52:49 +00:00
|
|
|
# Fg42 - Emacs Editor for advance users
|
|
|
|
#
|
|
|
|
# Copyright (c) 2010-2022 Sameer Rahmani <lxsameer@gnu.org>
|
|
|
|
#
|
|
|
|
# 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 <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
my_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
|
|
|
|
|
2020-03-16 18:32:42 +00:00
|
|
|
.PHONY: update
|
2018-04-19 02:14:01 +01:00
|
|
|
update:
|
|
|
|
@git pull origin master
|
2020-03-16 18:32:42 +00:00
|
|
|
|
|
|
|
.PHONY: install
|
2017-04-08 01:51:00 +01:00
|
|
|
install:
|
2021-12-11 14:52:49 +00:00
|
|
|
/bin/sh $(my_dir)/scripts/install_files.sh runners
|
2017-04-08 02:29:12 +01:00
|
|
|
@echo " "
|
|
|
|
@echo "------------------------------------------------------------------------------------"
|
2022-01-07 17:42:02 +00:00
|
|
|
@echo "Make sure to install external dependencies of FG42. For more info checkout README.org"
|
2017-04-08 02:29:12 +01:00
|
|
|
@echo "Enjoy the bless of GNU/Emacs and FG42 :)"
|
2020-03-16 18:32:42 +00:00
|
|
|
|
|
|
|
.PHONY: install-fonts
|
2018-05-14 00:39:11 +01:00
|
|
|
install-fonts:
|
2021-12-11 14:52:49 +00:00
|
|
|
/bin/sh $(my_dir)/scripts/install_files.sh fonts
|
|
|
|
|
|
|
|
.PHONY: install-extras
|
|
|
|
install-extras:
|
|
|
|
/bin/sh $(my_dir)/scripts/install_files.sh extras
|
2020-04-14 22:37:00 +01:00
|
|
|
|
2020-04-15 12:08:13 +01:00
|
|
|
|
2021-12-11 14:52:49 +00:00
|
|
|
.PHONY: doc-clean
|
2020-04-15 12:08:13 +01:00
|
|
|
clean:
|
|
|
|
@rm -rf $(shell find `pwd` -iname "*~")
|
2021-07-27 12:32:24 +01:00
|
|
|
@rm -rf build
|
2021-04-21 11:45:33 +01:00
|
|
|
|
2021-07-27 12:32:24 +01:00
|
|
|
.PHONY: dev-docs
|
|
|
|
dev-docs: clean
|
2022-06-29 01:21:57 +01:00
|
|
|
./build.el docs :d
|
2021-04-21 11:45:33 +01:00
|
|
|
|
2021-08-29 19:44:18 +01:00
|
|
|
.PHONY: docs
|
|
|
|
docs:
|
2022-06-29 01:21:57 +01:00
|
|
|
./build.el docs
|
2021-08-29 19:44:18 +01:00
|
|
|
|
2021-07-27 12:32:24 +01:00
|
|
|
serve: build
|
2022-06-29 02:17:33 +01:00
|
|
|
npx http-server ./build/site-build/
|
2021-07-27 12:32:24 +01:00
|
|
|
|
2021-08-29 19:44:18 +01:00
|
|
|
.PHONY: deploy-docs
|
2022-07-04 16:41:47 +01:00
|
|
|
deploy-docs: clean docs
|
2022-06-29 17:20:28 +01:00
|
|
|
rsync -vlcr --delete-after ./build/site-build/* core.lxsameer.com:/home/www/public/fg42/
|
2021-08-29 19:44:18 +01:00
|
|
|
|
2021-07-27 12:32:24 +01:00
|
|
|
.PHONY: dummy-x
|
2021-04-21 11:45:33 +01:00
|
|
|
dummy-x:
|
|
|
|
Xephyr -br -ac -noreset -screen 800x600 :1
|
|
|
|
.PHONY: test-wm
|
|
|
|
test-wm:
|
2021-10-12 00:35:05 +01:00
|
|
|
DISPLAY=:1 FG42_WM=true FG42_V3=true ./fg42-wm
|