Makefile: cleanups
This commit is contained in:
parent
26ec7b45c4
commit
caa94ea36c
23
Makefile
23
Makefile
@ -6,16 +6,6 @@ include VERSION
|
|||||||
ARCH:=`uname -i`
|
ARCH:=`uname -i`
|
||||||
|
|
||||||
PACKAGE = mambabase
|
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 =
|
DESTDIR =
|
||||||
|
|
||||||
@ -41,10 +31,6 @@ xdg_directorydir = ${datadir}/desktop-directories
|
|||||||
xdg_menudir = ${sysconfdir}/xdg/menus
|
xdg_menudir = ${sysconfdir}/xdg/menus
|
||||||
xdg_mergedmenudir = $(xdg_menudir)/applications-merged
|
xdg_mergedmenudir = $(xdg_menudir)/applications-merged
|
||||||
|
|
||||||
distrorootdir = ${datadir}/$(DISTROid)
|
|
||||||
distrobindir = ${distrorootdir}/bin
|
|
||||||
distrosrpmsdir = ${distrorootdir}/SRPMS
|
|
||||||
distrodesktopdir = ${distrorootdir}/desktop
|
|
||||||
srcdir = .
|
srcdir = .
|
||||||
|
|
||||||
INSTALL = /usr/bin/install
|
INSTALL = /usr/bin/install
|
||||||
@ -64,7 +50,7 @@ all: locales
|
|||||||
|
|
||||||
.po.mo:; msgfmt $< -o $@
|
.po.mo:; msgfmt $< -o $@
|
||||||
|
|
||||||
locales: $(pck_catalogs:.po=.mo) $(pck_catalogs1:.po=.mo)
|
locales: $(pck_catalogs:.po=.mo)
|
||||||
|
|
||||||
install-locales: locales
|
install-locales: locales
|
||||||
@for f in $(pck_catalogs); do\
|
@for f in $(pck_catalogs); do\
|
||||||
@ -74,13 +60,6 @@ install-locales: locales
|
|||||||
$(INSTALL_DIR) $$dir;\
|
$(INSTALL_DIR) $$dir;\
|
||||||
$(INSTALL_DATA) $${f/.po/.mo} $$dir/mambabase.mo;\
|
$(INSTALL_DATA) $${f/.po/.mo} $$dir/mambabase.mo;\
|
||||||
done
|
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
|
@lrelease-qt5 mambabase/mambabase_it.ts -qm $(DESTDIR)$(datadir)/locale/it/LC_MESSAGES/mambabase.qm
|
||||||
|
|
||||||
install-icons:
|
install-icons:
|
||||||
|
Loading…
Reference in New Issue
Block a user