about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/rtfm/patches/make.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/misc/rtfm/patches/make.patch')
-rw-r--r--nixpkgs/pkgs/applications/misc/rtfm/patches/make.patch17
1 files changed, 4 insertions, 13 deletions
diff --git a/nixpkgs/pkgs/applications/misc/rtfm/patches/make.patch b/nixpkgs/pkgs/applications/misc/rtfm/patches/make.patch
index 503faf5245be..51b95575cd0d 100644
--- a/nixpkgs/pkgs/applications/misc/rtfm/patches/make.patch
+++ b/nixpkgs/pkgs/applications/misc/rtfm/patches/make.patch
@@ -1,5 +1,5 @@
---- a/Makefile	2023-07-17 17:18:28.000000000 +0300
-+++ b/Makefile	2023-07-19 12:13:44.627168135 +0300
+--- a/Makefile	2023-12-07 23:37:38.984501858 +0300
++++ b/Makefile	2023-12-07 23:47:52.884456064 +0300
 @@ -4,8 +4,7 @@
  all: configure .WAIT rtfm docsets
  
@@ -10,16 +10,7 @@
  
  rtfm:
  	shards build --release -s rtfm
-@@ -29,13 +28,15 @@
- 	install -D -m644 data/io.github.hugopl.rtfm.gschema.xml $(DESTDIR)$(PREFIX)/share/glib-2.0/schemas/io.github.hugopl.rtfm.gschema.xml
- 	# docsets
- 	mkdir -p $(DESTDIR)$(PREFIX)/share/rtfm/docsets/
--	cp -rv data/Crystal.docset $(DESTDIR)$(PREFIX)/share/rtfm/docsets/
--	cp -rv data/Gtk4.docset $(DESTDIR)$(PREFIX)/share/rtfm/docsets/
-+	cp -r data/Crystal.docset $(DESTDIR)$(PREFIX)/share/rtfm/docsets/
-+	cp -r data/Gtk4.docset $(DESTDIR)$(PREFIX)/share/rtfm/docsets/
- 	# License
- 	install -D -m0644 LICENSE $(DESTDIR)$(PREFIX)/share/licenses/rtfm/LICENSE
+@@ -36,6 +35,8 @@
  	# Changelog
  	install -D -m0644 CHANGELOG.md $(DESTDIR)$(PREFIX)/share/doc/rtfm/CHANGELOG.md
  	gzip -9fn $(DESTDIR)$(PREFIX)/share/doc/rtfm/CHANGELOG.md
@@ -27,4 +18,4 @@
 +	glib-compile-schemas $(DESTDIR)$(PREFIX)/share/glib-2.0/schemas
  
  uninstall:
- 	rm -f $(DESTDIR)$(PREFIX)/bin/rtfm
\ No newline at end of file
+ 	rm -f $(DESTDIR)$(PREFIX)/bin/rtfm