about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexey Yerin <yyp@disroot.org>2025-03-21 15:17:28 +0300
committerAlexey Yerin <yyp@disroot.org>2025-03-21 15:17:28 +0300
commit15f28a82dfd3e1c469ed3aa77aa9f431ba16908b (patch)
tree76ba8080bd2503c18ce1957af81bcf48dcde86fd
parent1f81aa0bbfd363b1d264b5b19ef086b5bdd1260e (diff)
Consistently use gtk3/4 suffixes instead of numeric suffixes
-rw-r--r--.gitignore4
-rw-r--r--Makefile16
-rw-r--r--README.md8
-rw-r--r--cmd/demo-gtk3/main.ha (renamed from cmd/demo3/main.ha)0
-rw-r--r--cmd/demo-gtk4/main.ha (renamed from cmd/demo4/main.ha)0
-rwxr-xr-xscripts/generate-gtk3 (renamed from scripts/generate3)0
-rwxr-xr-xscripts/generate-gtk4 (renamed from scripts/generate4)0
7 files changed, 14 insertions, 14 deletions
diff --git a/.gitignore b/.gitignore
index 6245975..91dc415 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,7 @@
 /xmltree
 /hare-gi
-/demo3
-/demo4
+/demo-gtk3
+/demo-gtk4
 /.gen
 
 _generated.ha
diff --git a/Makefile b/Makefile
index 9338dff..473649f 100644
--- a/Makefile
+++ b/Makefile
@@ -45,8 +45,8 @@ hare-gi: $(HARE_GI_SRC) $(GIR_SRC) $(FORMAT_FASTXML_SRC)
 	hare build -o $@ cmd/hare-gi/
 
 .gen: hare-gi
-	./scripts/generate3
-	./scripts/generate4
+	./scripts/generate-gtk3
+	./scripts/generate-gtk4
 	touch .gen
 
 install: hare-gi install-core install-gtk-shared install-gtk3 install-gtk4
@@ -78,16 +78,16 @@ uninstall-gtk3:
 uninstall-gtk4:
 	@./scripts/uninstall-modules "$(DESTDIR)$(THIRDPARTYDIR)" $(MODULES_GTK4)
 
-demo3: .gen
-	hare build $(LIBS_3) -o demo3 cmd/demo3
+demo-gtk3: .gen
+	hare build $(LIBS_3) -o demo-gtk3 cmd/demo-gtk3
 
-demo4: .gen
-	hare build $(LIBS_4) -o demo4 cmd/demo4
+demo-gtk4: .gen
+	hare build $(LIBS_4) -o demo-gtk4 cmd/demo-gtk4
 
 clean:
-	rm -f hare-gi xmltree demo3 demo4 gi/*/_generate.ha
+	rm -f hare-gi xmltree demo-gtk3 demo-gtk4 gi/*/_generate.ha
 
 .PHONY: all clean
 .PHONY: install install-core install-gtk-shared install-gtk3 install-gtk4
 .PHONY: uninstall uninstall-core uninstall-gtk-shared uninstall-gtk3 uninstall-gtk4
-.PHONY: demo3 demo4
+.PHONY: demo-gtk3 demo-gtk4
diff --git a/README.md b/README.md
index a55f405..d69e5bb 100644
--- a/README.md
+++ b/README.md
@@ -18,14 +18,14 @@ $ make
 ## Running examples
 ### GTK 3
 ```
-make demo3
-./demo3
+make demo-gtk3
+./demo-gtk3
 ```
 
 ### GTK 4
 ```
-make demo4
-./demo4
+make demo-gtk4
+./demo-gtk4
 ```
 
 ## Contributing
diff --git a/cmd/demo3/main.ha b/cmd/demo-gtk3/main.ha
index a106b5c..a106b5c 100644
--- a/cmd/demo3/main.ha
+++ b/cmd/demo-gtk3/main.ha
diff --git a/cmd/demo4/main.ha b/cmd/demo-gtk4/main.ha
index 39ca4ca..39ca4ca 100644
--- a/cmd/demo4/main.ha
+++ b/cmd/demo-gtk4/main.ha
diff --git a/scripts/generate3 b/scripts/generate-gtk3
index bf57ff5..bf57ff5 100755
--- a/scripts/generate3
+++ b/scripts/generate-gtk3
diff --git a/scripts/generate4 b/scripts/generate-gtk4
index c285a4e..c285a4e 100755
--- a/scripts/generate4
+++ b/scripts/generate-gtk4