Merge pull request #83 from lakinduakash/revert-81-dev

Revert "Dev"
This commit is contained in:
Lakindu Akash 2020-10-28 21:31:52 +05:30 committed by GitHub
commit 1f261da8c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 8 deletions

View File

@ -72,7 +72,7 @@ install it using your distro's package manager_
On Ubuntu or debian install dependencies by,
```bash
sudo apt install -y libgtk-3-dev build-essential gcc g++ pkg-config make
sudo apt install -y libgtk-3-dev build-essential gcc g++ pkg-config make hostapd
```
## Installation

2
debian/control vendored
View File

@ -9,5 +9,5 @@ Homepage: https://github.com/lakinduakash/linux-wifi-hotspot
Package: linux-wifi-hotspot
Architecture: any
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends}, hostapd (>=2.0), iw (>= 5.4),iproute2 (>=5.0), util-linux (>=2.3), procps(>=3.3)
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: GUI tool for creating virtual hotspots using the same wi-fi card that is already connected to an access point.

View File

@ -17,8 +17,6 @@ GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources
BUILT_SRC = resources.c
HEADER_FILES = ui/ui.h ui/read_config.h ui/util.h ui/h_prop.h
_OBJ = main.o ui.o h_prop.o util.o read_config.o $(BUILT_SRC:.c=.o)
OBJ = $(patsubst %,$(ODIR)/%,$(_OBJ))
@ -26,13 +24,10 @@ OBJ = $(patsubst %,$(ODIR)/%,$(_OBJ))
# Be sure to place this BEFORE `include` directives, if any.
THIS_FILE := $(lastword $(MAKEFILE_LIST))
.PHONY: clean resources.c
.PHONY: clean
all: resources.c
generate-resources: ui/glade/wifih.gresource.xml ui/glade/wifih.ui
$(GLIB_COMPILE_RESOURCES) ui/glade/wifih.gresource.xml --target=ui/resources.c --sourcedir=ui/glade --generate-source
resources.c: ui/glade/wifih.gresource.xml ui/glade/wifih.ui
$(GLIB_COMPILE_RESOURCES) ui/glade/wifih.gresource.xml --target=ui/$@ --sourcedir=ui/glade --generate-source
@$(MAKE) -f $(THIS_FILE) wihotspot-gui