summaryrefslogtreecommitdiffstats
path: root/linux/Makefile
diff options
context:
space:
mode:
authorben <ben@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-01-16 12:41:57 +0000
committerben <ben@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-01-16 12:41:57 +0000
commite50ce6403a40a965c4562b594fb2a0141e428165 (patch)
treeb80f0d675ac2e5b95dd926fa880722f4d3ec83eb /linux/Makefile
parent9ca3f37cd3f78bf3e859c6d56814383232ba531e (diff)
Makefile um xmodmaps zu erzeugen
git-svn-id: https://svn.neo-layout.org@1465 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'linux/Makefile')
-rw-r--r--linux/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/linux/Makefile b/linux/Makefile
new file mode 100644
index 0000000..10d8dc0
--- /dev/null
+++ b/linux/Makefile
@@ -0,0 +1,32 @@
+FILES=bin/installiere_neo/installiere_neo xmodmap/neo_de_x-prog.xmodmap xmodmap/neo_de_alternative.xmodmap
+
+all:${FILES}
+
+bin/installiere_neo/installiere_neo: xmodmap/neo_de.xmodmap console/neo.map bin/asdf bin/uiae ../A-REFERENZ-A/neo20.txt bin/neo bin/num bin/wiemitneo bin/beschreibe ../Compose/Compose.neo etc/neo.conf bin/installiere_neo/erzeuge.installiere_neo bin/installiere_neo/installiere_neo.1 bin/installiere_neo/installiere_neo.2
+ cd bin/installiere_neo; ./erzeuge.installiere_neo > installiere_neo
+ chmod a+x $@
+
+xmodmap/neo_de_x-prog.xmodmap:xmodmap/neo_de.xmodmap
+ sed -e 's/\x09Up/\x9KP_Up/g'\
+ -e 's/BackSpace/NoSymbol/g'\
+ -e 's/\x09Delete/\x09KP_Delete/g'\
+ -e 's/\x09Insert/\x09KP_Insert/g'\
+ -e 's/\x09Home/\x09KP_Home/g'\
+ -e 's/\x09Left/\x09KP_Left/g'\
+ -e 's/\x09Down/\x09KP_Down/g'\
+ -e 's/\x09Right/\x09KP_Right/g'\
+ -e 's/\x09End/\x09KP_End/g'\
+ -e 's/\x09Next/\x09KP_Next/g'\
+ -e 's/\x09Return/\x09KP_Enter/g' $< > $@
+
+
+xmodmap/neo_de_alternative.xmodmap:xmodmap/neo_de.xmodmap
+ sed -e s/U202F/NoSymbol/g -e s/dead_stroke/NoSymbol/g $< > $@
+
+xmodmap/neo_de.xmodmap.referenz:xmodmap/neo_de.xmodmap
+ cd xmodmap/erzeuge_andere_xmodmaps; ./erzeuge_neo_de_referenz > ../neo_de.xmodmap.referenz
+
+clean:
+ rm -f ${FILES}
+
+.PHONY: clean