Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add theme files into Makefile #930

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add theme files into Makefile
  • Loading branch information
aljustiet committed Dec 26, 2024
commit d21638c4e80ed45fd5ae87b127c50f401f692586
5 changes: 4 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
@@ -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)