diff --git a/Makefile b/Makefile index 223abe8..f7a4a4e 100644 --- a/Makefile +++ b/Makefile @@ -6,16 +6,6 @@ include VERSION ARCH:=`uname -i` PACKAGE = mambabase -DISTROID = openmamba - -RPM_VENDOR = openmamba -RPM_DISTRIBUTION = openmamba -RPM_DISTROEXT = mamba - -SYSCONFIGFILE = netsrpminstall - -DISTROid = $(shell echo $(DISTROID) | tr A-Z a-z) -DISTROICON = $(DISTROid) DESTDIR = @@ -41,10 +31,6 @@ xdg_directorydir = ${datadir}/desktop-directories xdg_menudir = ${sysconfdir}/xdg/menus xdg_mergedmenudir = $(xdg_menudir)/applications-merged -distrorootdir = ${datadir}/$(DISTROid) -distrobindir = ${distrorootdir}/bin -distrosrpmsdir = ${distrorootdir}/SRPMS -distrodesktopdir = ${distrorootdir}/desktop srcdir = . INSTALL = /usr/bin/install @@ -64,7 +50,7 @@ all: locales .po.mo:; msgfmt $< -o $@ -locales: $(pck_catalogs:.po=.mo) $(pck_catalogs1:.po=.mo) +locales: $(pck_catalogs:.po=.mo) install-locales: locales @for f in $(pck_catalogs); do\ @@ -74,13 +60,6 @@ install-locales: locales $(INSTALL_DIR) $$dir;\ $(INSTALL_DATA) $${f/.po/.mo} $$dir/mambabase.mo;\ done - @for f in $(pck_catalogs1); do\ - lang=`echo $$f | sed 's,.*/\(.*\)\.po,\1,'`;\ - echo "installing i18n file for language \`$$lang'...";\ - dir="$(DESTDIR)$(datadir)/locale/$$lang/LC_MESSAGES";\ - $(INSTALL_DIR) $$dir;\ - $(INSTALL_DATA) $${f/.po/.mo} $$dir/openmamba-update.mo;\ - done @lrelease-qt5 mambabase/mambabase_it.ts -qm $(DESTDIR)$(datadir)/locale/it/LC_MESSAGES/mambabase.qm install-icons: