diff --git a/themes/modern/Makefile.in b/themes/modern/Makefile.in index 4a58a4c46238..55a23b07c994 100644 --- a/themes/modern/Makefile.in +++ b/themes/modern/Makefile.in @@ -28,9 +28,19 @@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk include $(THEME_ROOT_DEPTH)/theme.mk +SAMPLES_DIR = $(DIST)/bin/chrome/$(THEME) + +EXPORT_RESOURCE_SAMPLES = \ + manifest.rdf \ + $(NULL) + DIRS = communicator global navigator editor messenger # extensions, need to deal with this soon. DIRS += chatzilla xmlterm include $(topsrcdir)/config/rules.mk +GARBAGE += $(addprefix $(SAMPLES_DIR)/, $(EXPORT_RESOURCE_SAMPLES)) + +install:: + $(INSTALL) $(addprefix $(srcdir)/, $(EXPORT_RESOURCE_SAMPLES)) $(SAMPLES_DIR) diff --git a/themes/modern/makefile.win b/themes/modern/makefile.win index d447f1623d3e..a75588493f13 100644 --- a/themes/modern/makefile.win +++ b/themes/modern/makefile.win @@ -26,3 +26,10 @@ DIRS=communicator editor global messenger navigator chatzilla xmlterm include <$(DEPTH)\config\rules.mak> include <$(THEME_ROOT_DEPTH)\theme.mk> + +clobber:: + rm -rf $(DIST)\chrome\$(THEME)\*.* + +install:: + $(MAKE_INSTALL) manifest.rdf $(DIST)\bin\chrome\$(THEME) + diff --git a/themes/modern/manifest.rdf b/themes/modern/manifest.rdf index 8f9bd409ce1b..dd21bb953046 100644 --- a/themes/modern/manifest.rdf +++ b/themes/modern/manifest.rdf @@ -25,4 +25,4 @@ - \ No newline at end of file +