Commits

Anonymous committed 4f3bc65

Bump version, obey new installation rules

Comments (0)

Files changed (1)

 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 # Boston, MA 02111-1307, USA.
 
-VERSION = 1.08
+VERSION = 1.09
 AUTHOR_VERSION =
 MAINTAINER = XEmacs Development Team <xemacs-beta@xemacs.org>
 PACKAGE = locale
 CATEGORY = mule
 
 ELCS = start-files/ja/locale-start.elc start-files/ro/locale-start.elc
+DATA_FILES = $(shell echo app-defaults/*/Emacs)
+DATA_DEST = app-defaults
+AP_DEF_LANGS = de fr ja ro
+SPLASH_LANGS = ja ro
 
 include ../../XEmacs.rules
 
 srckit: srckit-std
 
 binkit: all
+	-rm -rf $(STAGING)/etc/start-files
+	-rm -rf $(STAGING)/etc/app-defaults
 	-mkdir -p $(STAGING)/etc
-	$(RCOPY) [a-z]* $(STAGING)/etc
+	-mkdir -p $(STAGING)/etc/start-files $(STAGING)/app-defaults
+	-rm -rf $(STAGING)/$(MANIFEST)
+	-touch $(STAGING)/$(MANIFEST)
+	for lang in $(SPLASH_LANGS); do \
+		mkdir -p $(STAGING)/etc/start-files/$$lang; \
+		$(RCOPY) start-files/$$lang/locale-start.el \
+			start-files/$$lang/locale-start.elc \
+			$(STAGING)/etc/start-files/$$lang; \
+	done
+	for lang in $(AP_DEF_LANGS); do \
+		mkdir -p $(STAGING)/etc/app-defaults/$$lang; \
+		$(RCOPY) app-defaults/$$lang/Emacs \
+			$(STAGING)/etc/app-defaults/$$lang; \
+	done
 	(cd $(STAGING); \
 	rm -f $(PACKAGE)-$(VERSION)-pkg.tar*; \
+	ls -1 etc/start-files/*/locale-start.el* \
+		etc/app-defaults/*/Emacs $(MANIFEST) > $(MANIFEST); \
 	$(TAR) $(EXCLUDES) -cf $(PACKAGE)-$(VERSION)-pkg.tar etc/app-defaults \
 		etc/start-files; \
 	gzip -v9 $(PACKAGE)-$(VERSION)-pkg.tar)