summaryrefslogtreecommitdiff
path: root/build/Makefile.data
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-06 09:56:57 +0000
committerDana Jansens <danakj@orodu.net>2003-04-06 09:56:57 +0000
commit5d665673a29be21fe4ecad870d0a2d4f5c2f308d (patch)
tree0e06dc5e81708d0024a149d54a739977cfb68213 /build/Makefile.data
parentee2368044dd077207962f71194158265c74fe74e (diff)
fixes for build system. add themes to the install process. use the build/ dir for configures trash dump
Diffstat (limited to 'build/Makefile.data')
-rw-r--r--build/Makefile.data24
1 files changed, 7 insertions, 17 deletions
diff --git a/build/Makefile.data b/build/Makefile.data
index 874843ac..4e2b522b 100644
--- a/build/Makefile.data
+++ b/build/Makefile.data
@@ -5,30 +5,20 @@ dir = data
files = rc3
srcdir := $(srcdir)/$(dir)
-files := $(addprefix $(srcdir)/,$(files))
+dir := $(DESTDIR)$(rcdir)
+sources := $(addprefix $(srcdir)/,$(files))
all:
-$(target): $(objects)
- $(AR) r $@ $^
-
-$(dir)/%.o: $(srcdir)/%.c $(depdir)/%.d
- $(COMPILE) -c -o $@ $<
-
-$(depdir)/%.d: $(srcdir)/%.c
- @echo Building dependancies for $<
- @$(INSTALL) -d $(depdir)
- @$(DEPCOMPILE) -w -MM -MF $@ -MQ $(<:.c=.o) $<
-
install:
- $(INSTALL) -d $(DESTDIR)$(rcdir)
- $(INSTALL) -m 644 $(files) $(DESTDIR)$(rcdir)
+ $(INSTALL) -d $(dir)
+ $(INSTALL) -m 644 $(sources) $(dir)
uninstall:
- for i in $(notdir files); do \
- $(RM) $(DESTDIR)$(rcdir)/$$i; \
+ for i in $(files); do \
+ $(RM) $(dir)/$$i; \
done
- -rmdir $(DESTDIR)$(rcdir)
+ -rmdir $(dir)
clean:
$(RM) $(srcdir)/*\~