From: Tuomo Tanskanen Date: Sun, 20 Dec 2009 21:16:27 +0000 (+0200) Subject: simplify things X-Git-Tag: v0.1-1~3 X-Git-Url: https://vcs.maemo.org/git/?p=cell-modem-ui;a=commitdiff_plain;h=e6d4a9d71b008580a7f4539914c02d0275e7bd8f simplify things --- diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..cc38897 --- /dev/null +++ b/COPYING @@ -0,0 +1 @@ +This is released under BSD licence, see debian/copyright for more details. diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..900ba98 --- /dev/null +++ b/INSTALL @@ -0,0 +1,5 @@ +INSTALL: +-------- + +dpkg-buildpackage -rfakeroot -us -uc -sa -D +dpkg -i ../cell-modem-ui*_armel.deb diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index 2ff94e1..0000000 --- a/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ -EXTRA_DIST = \ - etc/systemui/* \ - debian/* - -deb: dist - -mkdir $(top_builddir)/debian-build - cd $(top_builddir)/debian-build && tar zxf ../$(top_builddir)/$(PACKAGE)-$(VERSION).tar.gz - cd $(top_builddir)/debian-build/$(PACKAGE)-$(VERSION) && dpkg-buildpackage -rfakeroot - -rm -rf $(top_builddir)/debian-build/$(PACKAGE)-$(VERSION) - -DISTCLEANFILES = *~ diff --git a/README b/README new file mode 100644 index 0000000..1289e45 --- /dev/null +++ b/README @@ -0,0 +1,4 @@ +cell-modem-ui: +-------------- +Installs a XML-file to /etc/systemui/ for controlling cellular modem. + diff --git a/configure.ac b/configure.ac deleted file mode 100644 index f757786..0000000 --- a/configure.ac +++ /dev/null @@ -1,28 +0,0 @@ -AC_INIT(Makefile.am) -AM_INIT_AUTOMAKE(cell-modem-ui, 0.0.1) -AM_CONFIG_HEADER(config.h) - -AC_CANONICAL_HOST - -AC_PROG_CC -AC_PROG_CPP -AC_PROG_INSTALL -AC_PROG_RANLIB -AC_PROG_LIBTOOL - -AC_HEADER_STDC - -CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wmissing-declarations" - -AC_SUBST(CFLAGS) - -AC_SUBST(CPUMEM_APPLET) -AC_SUBST(CPUMEM_APPLET_CFLAGS) - -systemuidir="/etc/systemui" -AC_SUBST(systemuidir) - -AC_CONFIG_FILES([ - Makefile -]) -AC_OUTPUT diff --git a/debian/rules b/debian/rules index 2d80f69..726ed8e 100755 --- a/debian/rules +++ b/debian/rules @@ -19,16 +19,16 @@ endif config.status: configure dh_testdir - CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --exec-prefix=/usr +# CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --exec-prefix=/usr configure: configure-stamp configure-stamp: - libtoolize --automake - aclocal-1.7 || aclocal - autoconf - autoheader - automake-1.7 --add-missing --foreign || automake --add-missing> --foreign +# libtoolize --automake +# aclocal-1.7 || aclocal +# autoconf +# autoheader +# automake-1.7 --add-missing --foreign || automake --add-missing> --foreign touch configure-stamp @@ -36,7 +36,6 @@ build: build-stamp build-stamp: config.status dh_testdir - $(MAKE) touch build-stamp clean: @@ -58,8 +57,8 @@ install: build dh_testroot dh_clean -k dh_installdirs - $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp - dh_movefiles + mkdir -p $(CURDIR)/debian/tmp/etc/systemui/ + cp $(CURDIR)/etc/systemui/*.xml $(CURDIR)/debian/tmp/etc/systemui/ binary-indep: build install