From d21638c4e80ed45fd5ae87b127c50f401f692586 Mon Sep 17 00:00:00 2001 From: aljustiet Date: Thu, 26 Dec 2024 12:16:26 +0500 Subject: [PATCH] Add theme files into Makefile --- src/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 944bed5a..b3b830ec 100755 --- a/src/Makefile +++ b/src/Makefile @@ -6,6 +6,7 @@ prefix = /usr/local EXDIR = $(prefix)/bin HELPDIR = $(prefix)/share/$(name) +THEMEDIR = $(prefix)/share/themes LIBDIR = $(prefix)/share/doc/$(name) # This is where the man page goes. @@ -176,12 +177,14 @@ install : install -m 644 $(wildcard plot_*) $(DESTDIR)$(HELPDIR)/ install -d $(DESTDIR)$(MANDIR)/ install -m 644 sc-im.1 $(DESTDIR)$(MANDIR)/$(name).1 + install -d $(DESTDIR)$(THEMEDIR) + install -m 644 ../themes/* $(DESTDIR)$(THEMEDIR) uninstall : -rm $(DESTDIR)$(prefix)/bin/$(name) -rm $(DESTDIR)$(HELPDIR)/$(name)_help - -rm $(DESTDIR)$(HELPDIR)/plot* -rm $(DESTDIR)$(MANDIR)/$(name).1 + -rm -r $(DESTDIR)$(HELPDIR) $(name) : $(OBJS) $(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS)