diff options
Diffstat (limited to 'SpiceXPI/Makefile.am')
-rw-r--r-- | SpiceXPI/Makefile.am | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/SpiceXPI/Makefile.am b/SpiceXPI/Makefile.am index e258b75..9f0ad0b 100644 --- a/SpiceXPI/Makefile.am +++ b/SpiceXPI/Makefile.am @@ -14,27 +14,17 @@ logger.ini : DISTDIR=dist ZIP=zip -# FIXME: we are actually using gcc 4 -if X86_64 -PLATFORM=Linux_x86_64-gcc3 -else -PLATFORM=Linux_x86-gcc3 -endif - all-local: SpiceXPI.xpi CLEANFILES = SpiceXPI.xpi SpiceXPI.xpi: $(top_builddir)/SpiceXPI/src/install.rdf $(top_builddir)/SpiceXPI/src/plugin/nsISpicec.xpt $(top_builddir)/SpiceXPI/src/plugin/.libs/libnsISpicec.so rm -rf dist - @[ -d $(DISTDIR)/platform ] || mkdir -p $(DISTDIR)/platform + @[ -d $(DISTDIR)/plugins ] || mkdir -p $(DISTDIR)/plugins cp $(top_srcdir)/SpiceXPI/src/install.rdf $(DISTDIR) -# cp $(XPT) src/*.js $(DISTDIR)/components - @[ -d $(DISTDIR)/platform/$(PLATFORM) ] || mkdir -p $(DISTDIR)/platform/$(PLATFORM) - @[ -d $(DISTDIR)/platform/$(PLATFORM)/plugins ] || mkdir -p $(DISTDIR)/platform/$(PLATFORM)/plugins - cp $(top_srcdir)/SpiceXPI/src/plugin/*.xpt $(DISTDIR)/platform/$(PLATFORM)/plugins - cp $(top_builddir)/SpiceXPI/src/plugin/.libs/libnsISpicec.so* $(DISTDIR)/platform/$(PLATFORM)/plugins/nsISpicec.so - cp $(top_srcdir)/SpiceXPI/logger.ini $(DISTDIR)/platform/$(PLATFORM)/logger.ini + cp $(top_srcdir)/SpiceXPI/src/plugin/*.xpt $(DISTDIR)/plugins + cp $(top_builddir)/SpiceXPI/src/plugin/.libs/libnsISpicec.so* $(DISTDIR)/plugins/nsISpicec.so + cp $(top_srcdir)/SpiceXPI/logger.ini $(DISTDIR)/plugins/logger.ini (cd $(DISTDIR); $(ZIP) -r ../$(XPI) .) distclean-local: |