Add nano syntax highlighting definitions
RescueOS v1.1 included syntax highlighting definitions for nano. Patch buildroot's nano package to have it install these files from nano's source.
This commit is contained in:
parent
0c3ce0d7b4
commit
8b3524ceb6
19
buildroot-patches/nano-add-syntax-highlighting.patch
Normal file
19
buildroot-patches/nano-add-syntax-highlighting.patch
Normal file
@ -0,0 +1,19 @@
|
||||
Index: buildroot-2013.02/package/nano/nano.mk
|
||||
===================================================================
|
||||
--- buildroot-2013.02.orig/package/nano/nano.mk 2015-03-31 20:35:07.000000000 -0400
|
||||
+++ buildroot-2013.02/package/nano/nano.mk 2015-03-31 21:29:58.000000000 -0400
|
||||
@@ -18,10 +18,14 @@
|
||||
|
||||
define NANO_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 $(@D)/src/nano $(TARGET_DIR)/usr/bin/nano
|
||||
+ mkdir -p $(TARGET_DIR)/usr/share/nano
|
||||
+ $(INSTALL) -t $(TARGET_DIR)/usr/share/nano -m 0644 \
|
||||
+ $(@D)/doc/syntax/*.nanorc
|
||||
endef
|
||||
|
||||
define NANO_UNINSTALL_TARGET_CMDS
|
||||
rm -f $(TARGET_DIR)/usr/bin/nano
|
||||
+ rm -rf $(TARGET_DIR)/usr/share/nano
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
@ -1,3 +1,4 @@
|
||||
gcc46-avoid-segfault.patch
|
||||
linux-firmware-version-bump.patch
|
||||
linux-firmware-wl1251.patch
|
||||
nano-add-syntax-highlighting.patch
|
||||
|
Loading…
Reference in New Issue
Block a user